News for hackers. Stuff that matters.
Re:Promises/A+ by ricardobeat on Monday July 08, 2013 @07:55PM (#6010222)
Promises are coming of age too late, and still have unsolved fundamental issues.

Meanwhile, ES6 generators are coming to node v0.12, already in FF and soon to be in Chrome; that is a whole different game.

Re:Promises/A+ by 1st1 on Monday July 08, 2013 @09:17PM (#6010506)
It's still better to use promises as an underlying mechanism, so that you can "yield* promise" or "yield* generator". This approach is now implemented in python tulip framework, and it solves the problem of combining the existing callback-based code with coroutines.