Continuations
2005-04-14 15:59:06.174936+02 by Dan Lyke 0 comments
About a month ago, MarkV pointed out Simon Tatham's Coroutines in C. Worth a look if your C chops need a little updating. Yesterday, Rafe had a link to Sam Ruby's Continuations for Curmudgeons, which showed me Python
's facility for doing the same thing. I hadn't run into yield yet, and it's a cool way to think about restructuring code.