Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Maintainable Code?

by dws (Chancellor)
on Nov 11, 2002 at 21:27 UTC ( #212100=note: print w/ replies, xml ) Need Help??


in reply to Maintainable Code?

Turns out that said co-worker did not understand HoH's or any other "complicated" (his words) data structure for that matter.

So your co-worker generalizes from his (lack of) experience, and predicts that everyone else will have a problem. How very human of him. I often catch myself doing the same.

When coding, do you assume a certain level of expertise of the lucky so-an-so who has to maintain the code?

I assume that they'll be a notch or two behind my abilities, and try to write code in a way that will help them up the learning curve. This means descriptions of any non-obvious data structures, and no tricks unless well commented.

Give people good examples to work from, and they may surprise you by how quickly they catch on.


Comment on Re: Maintainable Code?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://212100]
help
Chatterbox?
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: (8)
As of 2015-07-28 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls