Grouping code by indentation - feature or ******?
John Roth
newsgroups at jhrothjr.com
Fri Mar 25 08:22:39 EST 2005
"Antoon Pardon" <apardon at forel.vub.ac.be> wrote in message
news:slrnd482k3.20i.apardon at rcpc42.vub.ac.be...
> Op 2005-03-25, Tim Tyler schreef <tim at tt1lock.org>:
>> 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
features
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