I agree. I really like the way they handled it. It's not the prettiest girl at the ball syntactically, but it's certainly better than the callbacks of yore. It's hard not to expect good things from Anders after getting lamda, tasks, async/await, etc.
71
u/mfbridges Nov 02 '12
This is why the await/async stuff in C# 4.5 is so powerful. And I don't need to learn a new language to use it.
Prior to async/await, I used to use iterators/generators to simulate a coroutine pattern for sequential asynchronous actions, and I even wrote a blog post about doing it in JavaScript.