Y
Hacker News
new
|
ask
|
show
|
jobs
by
loganfsmyth
3998 days ago
Both are useful, but I'd hesitate to call it better. What makes you say it is better?
1 comments
Bahamut
3998 days ago
It makes explicit that the intention that a promise should be rejected, as opposed to a throw where one might reasonably expect an exception of some sort.
link