Thoughts on PEP315

Stephen Horne $$$$$$$$$$$$$$$$$ at $$$$$$$$$$$$$$$$$$$$.co.uk
Wed Sep 24 13:17:49 EDT 2003


On Wed, 24 Sep 2003 12:14:48 +0200, Bernhard Herzog <bh at intevation.de>
wrote:

>I think someone once suggested "and while" instead of a plain while:
>
>do:
>   ...
>and while condition:
>   ...
>
>This reads quite nicely IMO.

Hmmm.

It certainly has all the advantages I claimed for 'break if'. At the
moment my mental parser is choking on it - but I can't give a good
reason why. Probably it's just odd seeing 'and' at the start of a
line, I suspect.


-- 
Steve Horne

steve at ninereeds dot fsnet dot co dot uk




More information about the Python-list mailing list