7 ms·
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
by kinkdr 10y ago
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?
- pkolaczk 10y agoScala 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.