Python indentation

David Fraser davidf at sjsoft.com
Tue Jul 13 04:01:05 EDT 2004


Antoon Pardon wrote:
> Op 2004-07-12, Mark 'Kamikaze' Hughes schreef <kamikaze at kuoi.asui.uidaho.edu>:
> 
>>Antoon Pardon <apardon at forel.vub.ac.be>
>>>Before instructions like while, repeat etc
>>>existed, we could use the equivallent of an if combined with a goto
>>>and that worked fine too.
>>
>>  Ah, so your plan is to return to those golden times with equally
>>incoherent block structures.
> 
> 
> There is nothing incoherent about the proposed structure. A break
> or continue in the middle of a loop is more like a goto and less
> structured than a loop with multiple exit conditions.
> 
> The specific proposed syntax may be ugly, but that doesn't
> make the structure incoherent.
> 

Not to you perhaps, just to those of us who replied to you in the thread.
Anyway I remain unconvinced, but feel free to produce a language like 
this if you want to.

David



More information about the Python-list mailing list