Code that was written before current practices, tooling, or team knowledge were in place, and that typically lacks unit tests, up-to-date documentation, or clear structure. Legacy code is not necessarily broken; it may run perfectly well, but its internals are often difficult to understand or safely change.
Demi described a migration project involving an old application with no tests, outdated or multilingual documentation, and logic nobody fully understood. The challenge with legacy code is deciding how much to clean before making it work, when deadlines are real and touching it carries risk.
Demi described a migration project involving an old application with no tests, outdated or multilingual documentation, and logic nobody fully understood. The challenge with legacy code is deciding how much to clean before making it work, when deadlines are real and touching it carries risk.