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

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to