On 21/10/2011, at 11:07, Jorge wrote: > > And this has several (valuable, imo) advantages: > > - We aren't trashing the call stack on every async call: we can finally debug > properly! > - We can (finally!) catch the exceptions where and when it matters. > - We can loop and control flow in the usual ways (at last!). > - It's the habitual style of coding that everybody knows already.
One more: - We won't have to keep pumping data upwards in the contexts in the closure (from the callback), and/or nesting them (both the contexts and the callbacks). -- Jorge _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss