Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The closest thing I've seen to an actual definition of "legacy code" is "code that's very difficult to unit test." It's a shitty catch-22.


Feathers defines legacy code as code without accompanying tests in "Working Effectively with Legacy Code". Even to the point where someone he knows said of a particular shop, "they're writing legacy code, man!"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: