Comment on Async/await support in FirefoxparentComments−kinkdr9yCare to elaborate a bit? Just trying to understand why async/await is bad. In my mind it makes for much cleaner code that the callback hell.Also, how is Scala doing it?−pkolaczk9yScala is doing it exactly as in JS. We have async/await as a macro library transforming the code to a FSM. The original author posting this probably didn't know that, under-the-hood, await doesn't really block in Scala nor in JS.
Comments
Care to elaborate a bit? Just trying to understand why async/await is bad. In my mind it makes for much cleaner code that the callback hell.
Also, how is Scala doing it?
Scala is doing it exactly as in JS. We have async/await as a macro library transforming the code to a FSM. The original author posting this probably didn't know that, under-the-hood, await doesn't really block in Scala nor in JS.