News for hackers. Stuff that matters.
Re:Escape from Callback Hell by jj2 on Sunday March 03, 2013 @07:48AM (#5313548)
If you have to deal with lots of nested callbacks, it's probably worth to use a CPS transformation like Streamline.js. It makes your code a lot cleaner. As if it was written synchronously.

https://github.com/Sage/streamlinejs http://en.wikipedia.org/wiki/Continuation-passing_style

There are no comments on this comment yet.