News for hackers. Stuff that matters.
Re:Asynchronous Error Handling by spion on Saturday August 31, 2013 @01:47PM (#6307472)
I wrote a detailed comparison of JS async coding patterns here (emphasis on ES6 generators):

http://spion.github.io/posts/analysis-generators-and-other-a...

Unfortunately most patterns that consolidate error handling also result with useless stack traces, or have to resort to performance-reducing trickery (Q). This also includes generators.

Re:Asynchronous Error Handling by swannodette on Saturday August 31, 2013 @01:56PM (#6307497)
This is another problem with promises is the the mangling of the stack trace. In my version the stack traces are more or less left clean since you don't have to wrap at every step of your async pipeline.