top | item 26407296

(no title)

_zhqs | 5 years ago

> anything where you want to pass functions around.

You should read the article! The author goes into this in fascinating detail.

discuss

order

lmm|5 years ago

I did read the article; it's overly focused on async (especially the headline). The body quite correctly analyses the problem with functions, but misses that this is much more general than async; just adopting a different async model isn't a solution.

joubert|5 years ago

Well, the article’s focus is on asynchrony. Naturally then, it talks about closures within the context of asynchrony and to the extent that it is relevant.

The author could have made the topic about closures, but that’s not what they wanted to talk about.