Promises don't work well for library internals; they're external API only. Async* style methods cannot be replaced, so what's the point?
I disagree with the premise that developer errors should be handled - at best they should be logged -> process.on('uncaughtexception')
-
-
@yoshuawuyts what do you mean by "developer errors"? -
@a0viedo I use assert to validate function arg types; type mismatch should never happen; swallowing those is harmful - 9 more replies
New conversation -
-
-
nothing is worse than being unable to trace errors - not only do promises break panic, they also inject timers which mess up profiling
-
If sugar is poured over a minimal API, then the API is no longer minimal. "Minimum" means least possibly feasible
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.