Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Code Maintainability

by tilly (Archbishop)
on Dec 04, 2008 at 22:10 UTC ( #728121=note: print w/ replies, xml ) Need Help??

in reply to Code Maintainability

A few random thoughts for you. The first is that maintainability is the result of an interaction between the programmer and the code.

The second is that while you're right on the pitfalls of comments, you didn't say enough about how well-chosen variable and function names can serve some of the same purposes that people use comments for, in a much more maintainable way. For instance flags should be yes/no questions that the value is the answer to. And hash lookups linguistically should be read "of", name your hashes so that they will read nicely when you do.

Comment on Re: Code Maintainability

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-11-27 23:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls