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.

  • bahmanm
    link
    fedilink
    English
    21 year ago

    I just quote my comment on a similar post earlier 😅

    A bit too long for my brain but nonetheless it is written in plain English, conveys the message very clearly and is definitely a very good read on the topic. Thanks for sharing.