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

Re: Becoming familiar with a too-big codebase?

by eyepopslikeamosquito (Bishop)
on Jun 15, 2005 at 10:57 UTC ( #466869=note: print w/replies, xml ) Need Help??

in reply to Becoming familiar with a too-big codebase?

Find out who wrote the code and be nice to them. Offer to buy them lunch. Pick their brains. Learn all about them. Were they accomplished programmers or newbies when they wrote the system? Are they careful or slapdash? Are they domain experts? What was the political climate when they wrote the system? No matter how well documented a system, there is always extra important information and ideas available only inside the original designer's head.

As you understand a section of code, comment it. If you see something that looks dubious, mark it with XXX, say. You can come back to these XXXs when you better understand the system as a whole and have more time.

Whenever you find a bug in the system, write a test for it. Grow the test suite over time. I assume (like me) you will not be given time to write a comprehensive test suite before taking over maintenance of the code base.

See also Analyzing large Perl code base. and the book Perl Medic by Peter Scott.

  • Comment on Re: Becoming familiar with a too-big codebase?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2021-04-16 12:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found