3 ms·
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 st
by jes5199 13y ago
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.
- kaoD 13y agoThat's not callback's fault, but closure's. Callback's need not have shared state.