Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Maintainable code is the best code

by greywolf (Priest)
on Oct 02, 2001 at 22:59 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-12-07 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (33 votes). Check out past polls.

    Notices?