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

However, if you need a state machine, async/await is a super-elegant way to express it. No other language provides as nice way to do it.

I believe best you can do in other languages is using continuations as the state.




C# async transform into a state machine too.


State machines are the easy part.




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

Search: