[Python-ideas] if condition: break idiom
Josiah Carlson
josiah.carlson at gmail.com
Sun Sep 21 20:52:05 CEST 2008
On Sun, Sep 21, 2008 at 11:36 AM, Terry Reedy <tjreedy at udel.edu> wrote:
> 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.
I don't know if it was his worst mistake in language design, but I
agree it did open the door for such proposals.
- Josiah
More information about the Python-ideas
mailing list