Re:Comparing Node.js Promises, Try/Catch, Angular Zone.js an...
by olalonde on Wednesday April 16, 2014 @12:49PM
(#7598864)
The author does not seem like an experienced Node.js developer. All those
are usually written in this style:
I personally don't like promises and tend to avoid libraries who use them. I don't really see the problem they are trying to solve which is not already solvable in a more flexible way through libraries like async.
[ Parent
| on HN ]
Re:Comparing Node.js Promises, Try/Catch, Angular Zone.js an...
by alexgorbatchev on Wednesday April 16, 2014 @12:53PM
(#7598898)
I agree that libraries should not be handling errors in any unusual way, or better yet just re/throw them and let consumer take care of that. That's where the promises/zones might be useful.