re: Explain coroutines like I'm five VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I think your explanation is missing the main appeal of async - that you don't need to block on IO. To build on your story, I'd put it something li...
 

Thank you, this was clear enough to grasp it a bit better. I thought coroutines were a specific pattern for async operations though, but from above comments, it seems like they're roughly the same thing.

No - your were right at first. Coroutines are one way to do async - there are other ways. There are also other uses for coroutines. I've written a detailed reply to the main post.

code of conduct - report abuse