ANN: Dao Language v.0.9.6-beta is release!

Antoon Pardon apardon at forel.vub.ac.be
Thu Dec 8 09:17:14 CET 2005


Op 2005-12-07, Zeljko Vrba schreef <mo.dor at fly.srk.fer.hr>:
> On 2005-12-07, Antoon Pardon <apardon at forel.vub.ac.be> wrote:
>>
>> What I don't understand is, that most people who have a problem
>> with scope by indentation, want to introduce braces. I think
>> braces are the worst solution.
>>
> Braces are very convenient to match block start and end.

Other conventions can be just as convenient.

> Open a C program
> in the VI editor, and press % in command mode on some brace.. It will take
> you to its matching brace. How do you do something like that with python code
> (or any code that is based purely on indentation..)

Not my problem, since I don't suggest pure indentation is the way to go.

I just think braces are the worst solution for it, as python is
concerned.

-- 
Antoon Pardon



More information about the Python-list mailing list