Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: The One True Style of indentation:

by Anonymous Monk
on Apr 14, 2002 at 12:55 UTC ( #158923=note: print w/ replies, xml ) Need Help??


in reply to The One True Style of indentation:

I use tabs for indention, but not for other line-ups! Example. (I'll use > for tab and * for space where needed.)

my %hash = ( >>>>foo***** = 1, >>>>whoopass = 2, >>>>that**** = 3, >>>>foobar** = 4, );
This way people can change tab-stop to whatever they feel like, and still keeping formatting; only changing how much it's indented from the left-most border.


Comment on Re: The One True Style of indentation:
Download Code
Re: Re: The One True Style of indentation:
by Juerd (Abbot) on Apr 14, 2002 at 13:17 UTC

    I'll use > for tab
    >>>>

    Wow. Are those four-tab indents? :)

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

      Heh, no. I forsaw that reply, but was lazy and couldn't find a good phrase, and hoped people would realize that I meant "I'll use > as a filler for tab, and * as a filler for space". I'd seen it in some vim configurations so I figured it would be intuitive for at least some readers.

      Must editor's tab stop is set to 4, hence the four >s. I admit, it was a bit ambiguous. :)

      Cheers.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-07-14 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls