I fear that async/await will bring JS devs to use try/catch for logic control flow instead of only error handling. The future looks bleak.
@trevnorris Golang's way of doing async looks nice, could emulate by doing:
`
{ err, res } = await foobar()
if (err) // handle err
`
-
-
@trevnorris but all in all it's a gimmick; errbacks work now and are easy to reason about. Everything else tends to complicate things. -
@yoshuawuyts I don't mind the syntax. Problem is await uses Promises, which catch exceptions. This can get very unsafe. - 1 more reply
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.