5 ms·
Do you have a source on people generally disliking async/await? I've become a fan of it in JS.
by pshc 6y ago
Do you have a source on people generally disliking async/await? I've become a fan of it in JS.
- spamizbad 6y agoThere's the function coloring issue: https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ https://journal.stuffwithstuff.com/2015/02/01/what-color-is-... Where your sync functions have X considerations and your async functions have separate Y considerations - BUT, async/await sugar makes these widely different behaviors look nearly identical - so you get "clean" sync code aesthetics on your asynchronous code and are sort of on your own when tracking the behavior of its implication.