Tabs versus Spaces in Source Code ('semantic' vs. arbitrary indentation)
Christophe
chris.cavalaria at free.fr
Thu May 18 04:28:30 EDT 2006
Carl J. Van Arsdall a écrit :
> glomde wrote:
>
>>>
>>
>>
>> But If you work in a team it is kind of hard to make sure that
>> everybody use tabs and not spaces. And it is not very easy to spot
>> either.
>
> The converse can also be said, "it's difficult to make sure everyone
> uses spaces and not tabs".
>
> I think we've just about beat this discussion to death... nice work
> everyone!
>
No, it's really easy : a simple precoomit hook which will refuse any .py
file with the \t char in it and it's done ;)
More information about the Python-list
mailing list