Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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.

Replies are listed 'Best First'.
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. :)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://158923]
and the leaves swirl about...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2018-06-25 14:30 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.