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

It's not async/await that takes over a codebase, it's the async nature of functions period, no matter if you're using async/await, Promises, or callbacks.

Callbacks still have the function coloring problem: If you write a function which calls another function with an on-complete callback argument, then your function (usually) has to also take an on-complete callback in order to represent completion.

async/await makes this nicer, but it doesn't eliminate the underlying need to thread async completion all the way up your call stack.



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

Search: