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

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri May 19 04:27:07 EDT 2006


Duncan Booth enlightened us with:
> Can you point at any significant body of publically visible Python
> code which uses tabs exclusively?

Everything Python at http://www.stuvel.eu/software

> Also, in the open source universe you are quite likely to pull in
> bits of code from other projects, and you don't want to either have
> to reformat it or to switch your editor settings for some files.

If I grab a module, I just leave the module as is. If I grab a code
snippet, I always reformat it to my own style. That's very easy using
VIM's "retab" command.

> Do you know of any open-source projects which actually try to enforce a 
> 'tab only' convention for Python?

My software is, although I'm still the only one working on them ;-)

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list