Tabs are *MISUNDERSTOOD*, *EVIL* AND *STUPID*, end of discussion. (Re: Tabs versus Spaces in Source Code)

PoD pod at internode.on.net
Fri May 19 02:29:29 EDT 2006


On Thu, 18 May 2006 08:30:03 +0000, Duncan Booth wrote:

> PoD wrote:
>> How many levels of indentation does 12 spaces indicate?
>> It could be 1,2,3,4,6 or 12.  If you say it's 3 then you are
>> _implying_ that each level is represented by 4 spaces.
> 
> By reading the code I can see how many levels of indentation it
> represents. 
> 
>> How many levels of indentation is 3 tabs?  3 levels in any code that
>> you will find in the wild.
> 
> No. That is precisely the problem: there is code in the wild which
> contains mixed space and tab indentation, and any time that happens 3
> tabs could mean any number of indentations. 

I think it is universally accepted that mixed tabs and spaces is indeed
**EVIL**

I should have said any code using tabs exclusively.




More information about the Python-list mailing list