Tab indentions on different platforms?

Thorsten Kampe thorsten at thorstenkampe.de
Sun Dec 30 15:33:19 EST 2007


* Steven D'Aprano (Sun, 30 Dec 2007 00:37:32 -0000)
> On Sat, 29 Dec 2007 15:29:25 +0000, Thorsten Kampe wrote:
> > I'd personally go for spaces because:
> > 
> > 1. I don't like things I cannot see (control characters)
> 
> You can see spaces but not tabs? Your editor is pretty weird. In all the 
> editors I've every used, both spaces and tabs show up as empty white 
> space.

That's because the editor displays those invisible tab control 
characters as something they're not: spaces.

> > 2. I never had problems with spaces but plenty with tabs
> 
> What problems have you had with tabs that aren't related to buggy 
> applications or users that mix tabs and spaces?

Fortunately I don't remember every incident when I stumbled about 
something weird behaving or looking. One thing I do remember is 
reading python source code (not my own) with a pager. The source code 
was badly indented. The pager was not "buggy".

Thorsten



More information about the Python-list mailing list