Tabs -vs- Spaces: Tabs should have won.

Thorsten Kampe thorsten at thorstenkampe.de
Sun Jul 17 03:56:09 EDT 2011


* Andrew Berg (Sat, 16 Jul 2011 19:29:30 -0500)
> Of everything I've read on tabs vs. spaces, this is what makes the
> most sense to me:
> http://www.iovene.com/61/

Interesting one, especially the - from the coder's point of view - 
artificial distinction between indentation and alignment.

What is the difference between indentation and alignment? Well, 
indentation works with tabs, alignment not.

The author's conclusion "simply just use what ever you want for 
indenting, but use spaces for aligning" leaves only two choices for 
Python programmers: use spaces for indenting or don't align.

Thorsten



More information about the Python-list mailing list