Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: The One True Style of indentation:

by Anonymous Monk
on Apr 16, 2002 at 22:46 UTC ( #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:
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.

      But that's doesn't make tabs evil. It just means an evil editor was used.
      I think tabs are most readable, hence, i use tabs
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-11-27 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls