Status of PEPs?
Thomas Reichelt
XXNOSPAMXX at gibts.net
Fri Jul 2 06:20:32 EDT 2004
Ville Vainio wrote:
> Many features are only attractive because some other language has it,
> and people mistakenly believe that python should have it too. do-while
> is an example of a worthless feature that people think they want, but
> that really adds nothing to
>
>
> while 1:
> do stuff
> if condition:
> break
Well, in my opinion this kind of defeats the purpose of a while-loop. The
original intention is to test the condition in the while-statement, and not
to set up an infinite loop and break out somewhere. The behavior of while
(1) { } even generates a warning in other languages...
--
greetz tom
More information about the Python-list
mailing list