Tab indentions on different platforms?

Thorsten Kampe thorsten at thorstenkampe.de
Mon Dec 31 03:48:59 EST 2007


* Steven D'Aprano (Mon, 31 Dec 2007 00:05:15 -0000)
> On Sun, 30 Dec 2007 20:41:09 +0000, Thorsten Kampe wrote:
> > Anyway: the consequence of your well done argumentation is that
> > someone editing Python code has to use a specialised editor to prevent
> > screwing up tab indented code - and that's bad.
> 
> You just need to use an editor that inserts tab characters when the tab 
> key is pressed, just like you use an editor that inserts s characters 
> when the s key is pressed. If people didn't insist on using spaces where 
> tabs are called for, there would be no problem, and you wouldn't need a 
> specialized editor to prevent screwing up space-indented code.

You completely miss the point. Ben (and me answering him) was talking 
about tab indented code that gets screwed up by spaces by people who 
can't see the tabs. Read Ben's article again.

Thorsten



More information about the Python-list mailing list