News for hackers. Stuff that matters.
Re:Escape from Callback Hell: Callbacks are the modern goto by benregenspan on Friday November 02, 2012 @12:12PM (#4733286)
There are alternatives that don't require extending the language or having to work directly with a mess of nested callbacks. A bunch of flow-control libraries here: http://dailyjs.com/2012/02/20/new-flow-control-libraries/

This is definitely more hairy to use than if the language supported it natively, but not so bad, and can be implemented in a very lightweight way (this approach http://daemon.co.za/2012/04/simple-async-with-only-underscor... is a few lines of code on top of Underscore.js which a lot of sites are using already).

(PS: sorry if OP's article already mentioned this stuff, I can't load it at the moment)

There are no comments on this comment yet.