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

RE: My crime of choice

by runrig (Abbot)
on Oct 16, 2000 at 23:16 UTC ( #36998=note: print w/ replies, xml ) Need Help??


in reply to My crime of choice

I must confess, I voted for improperly formatting my code. I only indent my blocks 1 space, which some people find slightly annoying. I don't like tabs, or using vi's autoindent, so its probably a result of being lazy and saving wear and tear on my thumb. At least I indent consistently, lining up all the lines in a block with closing braces in sub blocks, which is more than I can say for a lot of the code I've seen :)

And I've always been meaning to write a perl program to change the indentation to any desired number of spaces...(No, not a prettyprinter - I'm not THAT ambitious).

Update: My gosh, this node is old. I have heard of perltidy since I first wrote this, and I've since mended my one-space indentation ways. I'm up to two spaces now :-)


Comment on RE: My crime of choice

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-03 10:50 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 (51 votes), past polls