Hacker News new | ask | show | jobs
by vorpalhex 3214 days ago
async/await worries me, not for abstract language reasons but because it hides complexity in a way not friendly for junior engineers.

I imagine a lot of code that should be thought out and made parallel being forced into a synchronous flow.

Note that promises aren't a ton better in this regard, and come with a ton of confusion themselves. In short, async is hard.

1 comments

Promise.all() does a pretty good job of parallelizing tasks while maintaining readability.