Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Maintainable code is the best code

by greywolf (Priest)
on Oct 02, 2001 at 22:59 UTC ( [id://116233]=note: print w/replies, xml ) Need Help??


in reply to Maintainable code is the best code

I have to agree with what you say about naming conventions. They should not need comments.

The key to any piece of code is to do 1 thing, do it well, and do it in only one place. If you have to cut-paste some functionality it should almost always be pulled out as its own function.

mr greywolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found