Skip to content

Comment on Async/await support in Firefoxparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.