Non-Indented python

Dave Cinege dcinege at psychosis.com
Wed Nov 21 23:00:35 EST 2001


On Wednesday 21 November 2001 14:33, you wrote:
> Dave Cinege wrote:
> > Rule of God:
> > The punishment for non-tab based indentation is death.
>
> This is exactly backwards.

Not so. It's completely logical. A single byte, per indented block
instead of some variable, arbitary number. (Files are more easily
parsable, more easily edited, less error prone, and smaller to boot.) 

> Tabs are wrong, because different editors will treat them differently.

I don't make excuses for poor editors. A programming editor worth
anything (IE nedit) will let you define the display of tabs to
how many ever spaces you like.

> Spaces are right, because a space is a space is a space, everywhere you
> go.

And as you said a space is a space, and you're stuck with what ever
poor choice the author choose, unless go regex happy on the code... 

If you use a 'single' space, I will pray for your soul and your logical
but unreadable code. Otherwise you're going straight to hell.

Dave

-- 
The time is now 22:37 (Totalitarian)  -  http://www.ccops.org/




More information about the Python-list mailing list