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

Interesting is also that these recommendations also apply to the use of the async/await pair


Only when running code in different threads. async/await isn't necessarily multithreaded. Actually usually isn't.


Which makes it worse because it opens up the possibility of intermitent bugs, and also those "it works on my machine, I don't know why it does not work on the server"

So it is better to treat them as multithreaded always... which falls back on the original post.




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

Search: