Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Note to Self: Read More Perl

by demerphq (Chancellor)
on Apr 30, 2004 at 09:16 UTC ( [id://349367]=note: print w/replies, xml ) Need Help??


in reply to Note to Self: Read More Perl

A good thing to try is to run perltidy over your code with various settings. Find a setting that you like and apply it regularly to your code. It keeps the style consistant which in the long run makes it easier to manage. Its defaults are also IMO fairly well chosen, so you arent going to annoy too many people if you just go with them.

Although I recognize this is a different use of style than you meant, i thinks its worth keeping in mind.

BTW, sometimes its worth recognizing that some tasks are always going to look ugly. Its hard to do much with a spec that is riddled with special cases and exceptions. So sometimes when the code looks ugly, well, there may be good reasons for it :-)


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-28 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found