Grouping code by indentation - feature or ******?
projecktzero
projecktzero at yahoo.com
Fri Mar 25 09:43:25 EST 2005
Tim Tyler wrote:
> What do you guys think about Python's grouping of code via
indentation?
>
> Is it good - perhaps because it saves space and eliminates
keypresses?
>
> Or is it bad - perhaps because it makes program flow dependent on
> invisible, and unpronouncable characters - and results in more
> manual alignment issues by preventing code formatters from managing
> indentation?
>
> Python is certainly pretty unorthodox in this area.
>
> How would you have dealt with the issue of how to group statements?
> --
> __________
> |im |yler http://timtyler.org/ tim at tt1lock.org Remove lock to
reply.
You might read Eric Raymond's Why Python? article
[http://www.linuxjournal.com/article/3882]
I would agree with him in that it just seems natural.
More information about the Python-list
mailing list