Jim Weirich <jweirich / one.net> wrote: > Yes and no. Although they are entirely different things, they both > are used for do "iteration-like" stuff in their respective languages. > That and the fact they both use the keyword "yield" (although with > complete different semantics!) leads people to confuse the two. Okay, so what if, instead of saying "This functionality has been added to Python recently as generators," I said that "This functionality has been added to Python recently using generators"? I mean. If generators are a more powerful and general construct, they should be able to do what Ruby blocks can, plus more. -- Greg McIntyre greg / puyo.cjb.net http://puyo.cjb.net