Tabs -vs- Spaces: Tabs should have won.

Tim Roberts timr at
Tue Jul 19 07:36:41 CEST 2011

Andrew Berg <bahamutzero8825 at> wrote:
>> I'm not saying it's wise
>Why not?

It just makes it more difficult to follow the pattern when you add new
code.  If you have an editor mnaging that for you, then you might as well
have the editor go all tabs or all spaces to avoid trouble.

Vi and friends with ts=8 and sw=4 will use 4 spaces, then tab, then tab
plus 4 spaces, then two tabs, etc.  That's recognizable, but I still
convert such a file to all spaces when I find one.
Tim Roberts, timr at
Providenza & Boekelheide, Inc.

More information about the Python-list mailing list