From: Jim Weirich Date: 2003-03-24T12:05:35+09:00 Subject: Re: Ruby lecture slides (was Strong advantages over Python) On Sun, 2003-03-23 at 21:54, Julian Snitow wrote: > Jim Weirich wrote: > > [...] But another, more common, problem where generators > > have the advantage is trying to iterate over two lists in parallel. > > Never understimate the amazing power of call/cc. > > (Programming in a language that lacks it is like commuting to work > without a personal teleporter... :-) Oh, I'm fully aware of the power of continuations. I *meant* to say that "... where generators have the advantage _over block iterators_ is ...". -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)