Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Reading Someone's Program

by CountZero (Bishop)
on May 18, 2011 at 12:18 UTC ( [id://905466]=note: print w/replies, xml ) Need Help??


in reply to Reading Someone's Program

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found