Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Strategies for maintenance of horrible code?

by GrandFather (Sage)
on Jul 12, 2006 at 08:38 UTC ( #560640=note: print w/replies, xml ) Need Help??

in reply to Re: Strategies for maintenance of horrible code?
in thread Strategies for maintenance of horrible code?

Actually, just writing the tests is often a damn fine way of finding bugs. No exactly what OP is after at the moment, but something that is at the forefront of my mind because I'm in the middle of writing a set of tests (in Perl :) for some XML processing C++ code and turning up a pile of bugs as I go.

However it does suggest another test avenue: write test harnesses for modules so that you can exercise them in isolation and better understand how they work. If the test harness ends up part of a regression test system so much the better.

DWIM is Perl's answer to Gödel
  • Comment on Re^2: Strategies for maintenance of horrible code?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2016-10-26 23:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (350 votes). Check out past polls.