Jose' Matos wrote:

>   The style that I follow (or that I try to follow) is:
> http://www.python.org/dev/peps/pep-0008/
> 
>   a lot more pythonic, after all python is not C++.

No, but I think that the concept of "logical indentation" vs. "alignment"
can be used in both languages.

The problem I have with space-only indentation is that I am used to a
tabwidth of 8, and find 2 difficult to read. With spaces only you force
everybody to use your choice of tabwidth.

>   Please let us not mix tabs and spaces in python, all spaces. In python
>   the
> indentation matters, you can have something that looks like in a editor
> and that the interpreter does not like. What you are proposing is
> dangerous. :-)

I don't think so. The python interpreter should not have any problem if all
logical indentation is tabs only. Can you please explain? Of course I agree
that mixing spaces and tabs in logical indentation is dangerous.


Georg

Reply via email to