Re:Node.js - A giant step backwards?
by yesbabyyes on Wednesday January 25, 2012 @06:31PM
(#3512229)
Great takeaway, jrockway. For his other example, I encourage people to take a look at caolan's excellent async library:
EDIT: Fixed example.
[ Parent
| on HN ]
Personally I've gotten more use out of the Futures library, though both are great. https://github.com/coolaj86/futures It contains a form of 'waterfall' known as merely a sequence. I use a lot of sequences and promises, it makes me not go insane from NodeJS programming. In the end I still think it was a mistake for Node to not support any sync features because there are times it's nice to have. TameJS doesn't solve the problem completely either (and I hate the compile step).