Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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]
[LanX]: Larry the greatest
[LanX]: hmm this joke may be too old for millennials
[LanX]: s/joke/reference/
[Eily]: well, I didn't get the joke and I didn't get the image either because the proxy won't let me
[erix]: Leasure Suit L.
[LanX]: THEY are restricting your Internet?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (18)
As of 2017-03-23 17:42 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (292 votes). Check out past polls.