Calling a generator multiple times

Courageous jkraska at san.rr.com
Sat Dec 8 12:15:53 EST 2001


>If it _was_ "plain wrong" it wouldn't be the way it is.

One of the objections to what I've written has been, on several
occasions, "After you've worked with them for a while, you'll
not have any problems with them" or some equivalent. What's
wrong-headed about this kind of thinking is that this is true
of original programmers everywhere. They always generally
understand their own code. Embedding a keyword deep in a function
definition and then having this embedding make the function
in effect behave entirely differently isn't just wrong, it's
bizarre.

C//




More information about the Python-list mailing list