[TUHS] tabs vs spaces - entab, detab

Steve Nickolas usotsuki at buric.co
Fri Mar 5 05:37:14 AEST 2021


On Thu, 4 Mar 2021, Nemo Nusquam wrote:

> On 04/03/2021 13:31, arnold at skeeve.com wrote (in part):
>> Traditionalists (or at least, I, speaking for myself) use tabs in
>> their C, C++, and shell code and *must* use tabs in their Makefiles.
> Yes in Makefiles, otherwise I prefer 4 spaces per stop.
>
>> The Python world is different; there the use of spaces and a tab stop
>> of 4 characters is common.
> I recall two colleagues working on the same Python-based project.  One used a 
> 3-column tab; the other used 8-column spaces.  Few fireworks as the other 
> simply filtered.

<snip>

For what it's worth, I tend to use space-tabbing, indent of 1 for C, 
indent of 10 for assembler (I do some stuff in 65C02 assembler).

-uso.


More information about the TUHS mailing list