Look, if you want a language with panics, use Go. If you want a language with exceptions that bubble and can be recovered from, use JS.
@domenic @tjholowaychuk oh yea, you're definitely right - but like I said: I think the TC overlooked the way throw is used for some, not all
-
-
@yoshuawuyts@tjholowaychuk your timeline is wrong; throw/catch/finally were designed many years before Node even existed. -
@domenic@yoshuawuyts I'd probably do `let {val, err} = await fs.open(path)` and leave throw to exceptions, try/catch all over gets weird - 4 more replies
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.