Y
Hacker News
new
|
ask
|
show
|
jobs
by
mgaunard
1039 days ago
I don't understand how it is any more verbose.
1 comments
nazcan
1039 days ago
Because you have to keep explicitly passing state between each callback, rather than just using the same context (which still has the ability to delete things if needed).
link
mgaunard
1039 days ago
State capture with lambdas is implicit, and only explicit if you want it to be.
link