Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: