Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: The One True Style of indentation:

by Anonymous Monk
on Apr 16, 2002 at 22:46 UTC ( [id://159661]=note: print w/replies, xml ) Need Help??


in reply to Re: The One True Style of indentation:
in thread The One True Style of indentation:

every editor needs to have the tab set to the same value in order to have the same 'look' and organization

Why is that? Can you give an example of when having tab as indention makes things look bad?
  • Comment on Re: Re: The One True Style of indentation:

Replies are listed 'Best First'.
Re: Re: Re: The One True Style of indentation:
by coreolyn (Parson) on Apr 17, 2002 at 15:11 UTC

    If I use a tab in vi on a unix box then (after submitting to source control which xlates the return characters for OS's) and then check it out to my 2000 box, I have to set whatever editor I use to the same 4 space tab character, otherwise my code can have a tab of sometimes 8 characters. Possibly this has something to do with the checkin/checkout process. Bottom line - I've had to adjust to using spaces for my indentation in order to have the code look the way I want it to on a consistent basis.

    coreolyn
Re: Re: Re: The One True Style of indentation:
by Anonymous Monk on Apr 17, 2002 at 00:13 UTC
    Can you give an example of when having tab as indention makes things look bad?

    When an editor has replaced some spaces with tabs, and some not, then you read it on another editor, the result looks very bad.

      I think tabs are most readable, hence, i use tabs
      But that's doesn't make tabs evil. It just means an evil editor was used.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://159661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found