Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: The One True Style of indentation:

by Anonymous Monk
on Apr 14, 2002 at 12:55 UTC ( [id://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. :)

      Cheers.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found