[Python-ideas] if condition: break idiom

Terry Reedy tjreedy at udel.edu
Sun Sep 21 20:36:32 CEST 2008


Josiah Carlson wrote:
>
>>>  break if condition else continue
>>>  continue if condition else break
>>>
>> No that would be silly.
> 
> Why?  It follows directly from conditional expressions 

In my view, backwards conditional expressions were Guido's worst 
mistake.  This proposal and comments like the above partly illustrate 
why I think so.




More information about the Python-ideas mailing list