Flutterby™! : Continuations

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

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[Wiki]'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.

[ related topics: Software Engineering Python ]

comments in descending chronological order (reverse):