in reply to best way to understand existing perl code
I assume, you were assigned to jump into the cold waters of maintaining an existing project?
I would start to find answers to the following questions:
Finally, for some people the learning by osmosis principle works. Skim through the sources, skim again, take notes while doing so. Finally, you'll have a mental map where to find something and how the pieces are connected to each other. Write new tests if you miss something or want to understand certain aspects. Experiment, but be sure you can undo your changes (e.g. version control).
HTH
Update: Additional PM resources:
I am not aware of a book that covers the topic of assessing an existing project.
Maybe McConnell / Code Complete,
Martin / Working Effectively with Legacy Code, or
Fowler / Refactoring: Improving the Design of Existing Code
might have some helpful sections about it?
Conway / Perl Best Practices might help you help the next generation (people that take over from you).
(in response to 919191)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: best way to understand existing perl code
by balakrishnan (Monk) on Aug 08, 2011 at 10:29 UTC | |
by chromatic (Archbishop) on Aug 08, 2011 at 10:36 UTC |