News for hackers. Stuff that matters.
Re:Callbacks are Pretty Okay by jes5199 on Saturday August 17, 2013 @11:38AM (#6229361)
I agree with you.

It occurs to me that if you're using a whole bunch of anonymous functions with nested lexical closures, then the shared state between them starts looking a lot like global variables.

And globals are evil, but relative to the other nightmares that Gotos could produce, they're pretty mild.

Re:Callbacks are Pretty Okay by kaoD on Saturday August 17, 2013 @12:12PM (#6229451)
That's not callback's fault, but closure's. Callback's need not have shared state.