Tab indentions on different platforms?

Torsten Bronger bronger at physik.rwth-aachen.de
Tue Jan 1 10:27:08 EST 2008


Hallöchen!

Steven D'Aprano writes:

> [...]
>
> Ah, and now we're getting somewhere! It's not so much that tabs
> are intrinsically harmful (as people like Thorsten keep
> insisting), but that in a world supposedly dominated by people who
> indent with spaces, using tabs might lead to inconsiderate
> programmers ignoring your project's coding standards and inserting
> spaces into your code base.
>
> Yes, I can see that is a problem. I believe it is best solved by
> refusing contributions from such inconsiderate programmers. After
> all, if they're going to ignore your project's code standards in
> one aspect, they're invariably going to ignore others as well.

No, you cannot have both tabs and spaces.  The whole community must
settle on a single method.  I cannot adjust my editor's settings to
the respective SVN tree I'm looking at, nor can I incorporate other
project's code into mine if the indentation method is not the same.

Of course, there is no intrinsic benefit from spaces but it is the
method that has won.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: bronger at jabber.org
               (See http://ime.webhop.org for further contact info.)



More information about the Python-list mailing list