Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree and disagree. Coroutines can be thought of as a degenerate case of continuations (sometimes called "single-shot continuations"). I contend that understanding continuations is at least as hard as understanding coroutines, but that if you understand one concept the other follows easily. So for people already comfortable with continuations, I agree, otherwise I disagree (in fact, I had a hard time grokking continuations until I thought of them as generalized coroutines).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: