Tabs for indentation & Spaces for alignment in Python 3?

Marko Rauhamaa marko at pacujo.net
Sat Dec 6 11:57:35 EST 2014


Michael Torrie <torriem at gmail.com>:

> What dilemma?  Do you mean you can avoid the drama of tabs by going all
> spaces?  Of course in Python this is the recommended course.
>
> But that's typically not what I, or most people, use in C or C++.

"Most people"? Hm. I don't know most people.

Anyway. Who cares about "most people"?

> And one of the OP's points is that by using tabs for indent, and
> spaces for alignment, you can have the best of both worlds.

I certainly doesn't sound that way.

> Programmers can set their tab size to anything they want, and it still
> looks good

That's anything but true. I see zigzaggy diffs all the time.


Marko



More information about the Python-list mailing list