News for hackers. Stuff that matters.
Re:Germany is turning on its monster stellarator by annnnd on Monday November 02, 2015 @10:10AM (#10492140)
The scenario you describe is a disaster waiting to happen.

Refactor it, preferably yesterday - but make a "shadow deploy". For each set of input / output parameters run both functions and compare them. If they differ, use the old one and go back to figuring out where it went wrong. After some time you can be quite sure that the new clean function works as it should - then you just switch.

Re:Germany is turning on its monster stellarator by HerpDerpLerp on Monday November 02, 2015 @11:09AM (#10492619)
I am not sure the above idea is mentioned by Michael Feathers in his amaze book "Working Effectively with Legacy Code" but it is a great idea, and combined with the things that Michael does cover will do you a lot of good!

http://www.amazon.co.uk/Working-Effectively-Legacy-Michael-F...