[Python-ideas] A suggestion for a do...while loop

Cameron Simpson cs at zip.com.au
Mon Jun 26 18:12:29 EDT 2017


On 26Jun2017 13:30, Ethan Furman <ethan at stoneleaf.us> wrote:
>On 06/26/2017 01:20 PM, Mikhail V wrote:
>>I dont't like "while True:"  simply because it does not make enough
>>visual distinction with the "while condition:" statement.
>
>My "while True:" loops look something like:
>
>  while "<meaningful text description here>":

O_o

Nice!

Cheers,
Cameron Simpson <cs at zip.com.au>


More information about the Python-ideas mailing list