Op 2005-12-07, Zeljko Vrba schreef <[EMAIL PROTECTED]>:
> On 2005-12-07, Antoon Pardon <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to