3 ms·
Yeah, my favorite definition of "legacy code" is "code that has poor test coverage." The regression test suite should literally implement all of the business r
by kyllo 13y ago
Yeah, my favorite definition of "legacy code" is "code that has poor test coverage."
The regression test suite should literally implement all of the business requirements, and then the two become the same thing (if there's no test for it, it's not a requirement, and vice versa), so then you can work on the codebase with confidence, and it's therefore not legacy code, no matter how old it is or what old school language it's written in.