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

I think async/await is kind of a didactic mistake. It’s marketed as a way to not have to think about the underlying abstraction, but lack of the understanding about how it works under the hood will almost certainly bite you in this ass. This I find to be especially true when people are writing mixed async and sync code. The best way for me to learn was writing all of the code before the async/await sugar existed (scala in my case).


I think the intent is that you don't have any sync code at all.


Yeah but in practice it doesn’t work like that. There’s a ton of sync code that already exists and people know how to write sync code.




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

Search: