why no "do : until"?
Steve Lamb
grey at despair.rpglink.com
Sat Dec 30 00:37:19 EST 2000
On Sat, 30 Dec 2000 05:23:26 GMT, Rainer Deyke <root at rainerdeyke.com> wrote:
>At that point it's better to use 'while 1', which is at least idiomatic and
>explicit in its inelegance.
I'm sorry, but I don't agree. Even though I have no problem with while 1:
initing variables before the loop is more preferable to a break. Esp. when
one can put the condition in the while; unlike reading lines from a file where
one cannot.
--
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