why no "do : until"?
Steve Lamb
grey at despair.rpglink.com
Sat Dec 30 15:28:30 EST 2000
On Sat, 30 Dec 2000 18:56:12 GMT, Fredrik Lundh <fredrik at effbot.org> wrote:
>from what world do you come from where initializing variables to arbitrary
>values just to get your program flow right is a good thing?
I have never heard of a single programming book or course that says, "Oh,
don't init variables." In this case I feel you are squarely in the wrong
with, oh, the entire CS community.
>next you gonna tell us that it's better to use flags than to use break and/or
>exceptions...
No, but I don't think that when you can place the test into the while that
one should use a while 1:break construct.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list