2 ms·
That code was old rather than bad. And I had the distinct feeling that whoever wrote it simply did not have a lot of background in software and had a job to be
by jacquesm 8y ago
That code was old rather than bad. And I had the distinct feeling that whoever wrote it simply did not have a lot of background in software and had a job to be done no matter how it got done. And then that code started a life of its own because the software did work most of the time. Edge cases (sometimes literally edge cases: edges of networks of steel trusses) would sometimes give the weirdest results and upon closer inspection you'd find lots of errors in the rest of the output, just not large enough to immediately cause suspicion.
In the end it all worked out and it was a very good lesson in trying to keep the output stable while refactoring the code. This was well before 'TDD'.