Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 having an uproarious good time at the Monastery: (13)
As of 2015-07-02 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls