[Python-Dev] PEP 351 - do while

Hans Polak Hans.Polak at capgemini.com
Fri Sep 29 12:46:43 CEST 2006


Hi,

 

Just an opinion, but many uses of the 'while true loop' are instances of a
'do loop'. I appreciate the language layout question, so I'll give you an
alternative:

 

do:

            <body>

            <setup code>

            while <condition>

 

Cheers,

Hans Polak.

 



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060929/906c9e6c/attachment.htm 


More information about the Python-Dev mailing list