Hacker News new | past | comments | ask | show | jobs | submit login

I think Promises=>async/await works great for certain domains like get a value from a database, them make an insert, then do something else and then return a message to the user.

I however write a lot of systems where almost all operations need to be concurrent, cancelable and rate-limited.

Personally I find callbacks and the event loop easy to reason about, but too daunting when all you do is CRUD requests to a database.

The problem with Promises though is that they spread, they don't like to live side by side with other async paradigms.




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

Search: