Philosophy of coroutines
![](https://lemmy.world/pictrs/image/88f74ac0-4f9f-4027-bd21-ab525de5f77d.jpeg)
chiark.greenend.org.uk
I've been using coroutines since I first encountered them in the same book that this author found them in. Unlike him I've used them all over the place professionally and in my personal stuff. I prefer them to threads, to FSMs, and to the callback Hell of reactors for most of my work. This article has a good explanation of why.
I just quote my comment on a similar post earlier 😅