3 ms·
I usually say that when people say “legacy project”, it’s really “code I either don’t understand or don’t like”.
by amarshall 2y ago
I usually say that when people say “legacy project”, it’s really “code I either don’t understand or don’t like”.
- wesselbindt 2y agoI specifically mean code not covered by automated tests. And this almost always falls in the dislike/misunderstand pile for me, but not conversely.
- Cthulhu_ 2y agoI'd argue that even with automated tests it can be considered legacy. Easier to change things if the test coverage is comprehensive enough, but I've yet to find a project like that, even the ones I built myself.
- wesselbindt 2y agoI hope you find one one day. It makes such a difference to have a test suite which you trust, and which doesn't erupt in false failures at the drop of a hat. I completely agree, not all tests are created equal.