3 ms·
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 a
by klysm 5y ago
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).
- eternityforest 5y agoI think the intent is that you don't have any sync code at all.
- klysm 5y agoYeah 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.