3 ms·
Interesting. Is your definition of legacy code “code that was written <x> time period ago”? Wikipedia defines legacy code in several ways. So sure, that term
by davidjnelson 7y ago
Interesting. Is your definition of legacy code “code that was written <x> time period ago”?
Wikipedia defines legacy code in several ways. So sure, that term has multiple meanings. Code without tests is a definition mentioned in the “modern representations” section.
Wikipedia indicates the original meaning was code that was dependent on a deprecated underlying foundation such as on os / framework / etc.
This is a snippet from the “modern representations” section of the Wikipedia entry. Basically the idea is legacy code is code that is hard to change:
“Eli Lopian, CEO of Typemock, has defined it as "code that developers are afraid to change".[1] Michael Feathers[2] introduced a definition of legacy code as code without tests, which reflects the perspective of legacy code being difficult to work with in part due to a lack of automated regression tests. He also defined characterization tests to start putting legacy code under test.”
https://en.m.wikipedia.org/wiki/Legacy_code https://en.m.wikipedia.org/wiki/Legacy_code