Grouping code by indentation - feature or ******?

John Roth newsgroups at
Fri Mar 25 14:22:39 CET 2005

"Antoon Pardon" <apardon at> wrote in message 
news:slrnd482k3.20i.apardon at
> Op 2005-03-25, Tim Tyler schreef <tim at>:
>> What do you guys think about Python's grouping of code via indentation?
>> Is it good - perhaps because it saves space and eliminates keypresses?
> I think it was a mistake, but I'm probably in the minority here.

Um, why?

I think it isn't quite what's needed, based on the observation that it makes
shifting from expression to statement context difficult enough that useful 
like blocks don't have a decent syntax.

On the other hand, it saves me an awful lot of hassle; it's one less thing
to have to get into my head.

John Roth
> -- 
> Antoon Pardon 

More information about the Python-list mailing list