Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Reading Someone's Programby CountZero (Bishop) |
on May 18, 2011 at 12:18 UTC ( [id://905466]=note: print w/replies, xml ) | Need Help?? |
This is a matter of "Fast, Good and Cheap -- choose any two". You cannot completely modify to new requirements and/or"modernize" it AND do it fast AND do it good, all at the same time. Depending on how extensive your modifications will be to answer the new requirements, a total "modern" rewrite may actually be easier. The fact that there are no tests available is a major problem. In any case, the first thing to do is write these tests. Without tests you will be actually navigating at night in dense fogs through unchartered waters and with no radar! Without tests you cannot be certain that what you wrote is not broken. CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In Section
Seekers of Perl Wisdom
|
|