Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How To Survive In Maintaince Programming (ACK! NO!)

by hv (Prior)
on Oct 22, 2004 at 11:16 UTC ( [id://401441]=note: print w/replies, xml ) Need Help??


in reply to How To Survive In Maintaince Programming (ACK! NO!)

If you have a suspicious supervisor, sometimes you have to introduce the complications in more subtle ways.

I once used to do work on an invoicing system for people selling cars; the program's job was to take an invoice template and fill it in. Naturally the template language could only be interesting if it were Turing-complete, but with suspicious minds around me I had to go for a two-pronged attack - get two different customers to request two different features, one of which required an optional line ("skip the following line if this value is zero") and the other of which required a dynamically-selected continuation template.

Once I had those two in place I had control flow, and shortly thereafter I had the vehicle-invoicing prime number generator: about 300 lines across 7 templates.

Ah, happy days. :)

Hugo

  • Comment on Re: How To Survive In Maintaince Programming (ACK! NO!)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found