goto statement

Philippe C. Martin philippe at philippecmartin.com
Wed Apr 20 12:37:59 EDT 2005


Loop bodies (for break)


Grant Edwards wrote:

> On 2005-04-20, Philippe C. Martin <philippe at philippecmartin.com> wrote:
> 
>> Although I find them 'cleaner' than goto, would not use goto,
>> and certainly do use 'return' in the middle of functions, I
>> also agree that some people might think the former do reduce
>> code readibility - ex: I , somehow, do not feel good using
>> 'continue' and 'break'.
> 
> Do you just avoid switch() statements?  Or are you referring
> only to loop bodies?
> 




More information about the Python-list mailing list