Y
Hacker News
new
|
ask
|
show
|
jobs
by
Tomek_
5585 days ago
It's basically the same thing, closure is the name of the game here. Your solution is probably a bit more costly for memory though.