[nodejs] Re: callback hell on steroid

2014-02-11 Thread Bruno Jouhier
There are plenty of solutions that let you program node in sync-style with robust exception handling: CPS transformations: - https://github.com/Sage/streamlinejs - http://maxtaco.github.io/coffee-script/ Coroutines/fibers: - https://github.com/laverdet/node-fibers ES6 Generators

[nodejs] Re: callback hell on steroid

2014-02-11 Thread Alexey Petrushin
Yep, you should learn how to use state machine hell instead of callback hell. On Tuesday, 11 February 2014 22:42:18 UTC+4, Reza Razavipour wrote: I have a node.js, express really, app that needs to make SOAP calls, asynchronously of course. In this case, I make a soap call and I get a