Python indentation (3 spaces)
On 2018-10-14, Christian Gollwitzer <auriocus at gmx.de> wrote:
> Am 14.10.18 um 02:45 schrieb Grant Edwards:
>> On 2018-10-13, Peter J. Holzer <hjp-python at hjp.at> wrote:
>>>> For "just use tabs" to work, all of those tools would have to
>>>> magically recognize that they're looking at Python source and adjust
>>>> the tab size accordingly. That isn't going to happen.
>>> Well, no. The idea of "just use tabs" isn't have a different tab width
>>> per language, but a different tab width per user.
>> You work in a different environment than I do. for me, tab width
>> varies from one project to another (sometimes even in the same
>> language). I don't get to pick just one tab width.
> But if you use only tabs for indentation, the tab width setting simply
> does not matter.
> There is a disadvantage only if you try to align something which is NOT
> an indentation level, e.g. when there are big string constants or list
> constants etc.
Exactly. In my experience, people who use tabs for indentation always
end up using them for other things as well: aligning comments or columns
in data tables, etc.