Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-11-29 09:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls