[Python-3000] Announcing PEP 3136
Neil Toronto
ntoronto at cs.byu.edu
Tue Jul 3 09:17:05 CEST 2007
Greg Ewing wrote:
> On 30/06/2007 22.54, Matt Chisholm wrote:
>
>
>> I've created and submitted a new PEP proposing support for labels in
>> Python's break and continue statements.
>>
>> http://www.python.org/dev/peps/pep-3136/
>>
>
> -1. Confusing nested loops are best broken out into
> separate functions rather than patching over the
> problem with features like this.
>
+1 (not that my vote really counts for much). Breaking logic out into
separate functions can obscure the meaning of an algorithm that is most
naturally implemented with nested loops.
Neil
More information about the Python-3000
mailing list