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

All async/await is built on promises/futures/tasks, which themselves are built on yield/generators. Most modern languages have converged on this and they are not different paradigms but rather just newer syntax.

Async/await is better for expressing concurrent logic more tersely and in the common "sync" format, and failure to understand what it means is just that, a failure in understanding.

There's no convincing argument here to use "promises instead async" because it's the same thing.



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

Search: