Y
Hacker News
new
|
ask
|
show
|
jobs
by
alexgorbatchev
4449 days ago
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.
1 comments
olalonde
4449 days ago
Right. I don't mind if people want to use promises in their own code as long as they don't force their use on library users.
link