2 ms·
I think that I'll have to agree mostly with article. At first I thought async/await would be a good feature, but after studying it a bit more and trying to use
by lotsoflumens 10y ago
I think that I'll have to agree mostly with article.
At first I thought async/await would be a good feature, but after studying it a bit more and trying to use it in a real project, I've become very disappointed.
There was really no need to add new keywords to the language. It could have been more transparent like generators (it's a generator if it has a yield).
And, the implementation of coroutines as a syntactic sugar on top of generators is like buying an SUV and finding out later that it's a minivan chassis with bigger wheels.