Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Perl best practices fanatism

by starX (Chaplain)
on Dec 10, 2007 at 03:53 UTC ( #656046=note: print w/replies, xml ) Need Help??

in reply to Perl best practices fanatism

Like the man said, "there's more than one way to do it."

That being said, I like to aim for the following in my code:

1) Functionality
2) Readability
3) Consistency

And I look for them in that order. I suppose when I have a boss who disagrees with my methods, I may have to rethink them, but so far neither employer nor co worker has yet to take issue with the way I do things.

I have to admit to not having sat down and read PBP yet (I've skimmed it), but that's largely because I was fortunate enough to have good CS profs who taught me to start by writing out step by step, in plain English, what I wanted to do and how I want to do it. It's amazing how big projects suddenly become a series of smaller, simple ones that way.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2019-11-19 13:21 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (95 votes). Check out past polls.