Re: Tab indentions on different platforms?



* 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
.



Relevant Pages

  • Re: Tab indentions on different platforms?
    ... someone editing Python code has to use a specialised editor to prevent ... You just need to use an editor that inserts tab characters when the tab ... specialized editor to prevent screwing up space-indented code. ...
    (comp.lang.python)
  • Re: Focus on a TextBox
    ... > I have a dialog that has three textboxes ... ... The tab order is ... > Eventhough that is the tab order, if A and B have text in them (lets say ... Is there a way to do this without screwing around with the tab ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • indentation with tabs and spaces
    ... is it possible to indent with tabs and spaces so that tabs are ... used for indentation-levels and spaces are used for alignment? ... I would like to have one TAB before 'long_function' and only one ... screwing up the alignment. ...
    (comp.emacs)
  • I have a workbook that I copied and I need to change the tab name.
    ... I have a workbook that I copied and I need to change the tab names ... without screwing up the formulas and links, but updating with the new tab ...
    (microsoft.public.excel.worksheet.functions)