2 ms·
If the user stories don't include cleaning up bad code, then cleaning up bad code is not a priority for the product owner. That's a feature not a bug. As Uncl
by brudgers 11y ago
If the user stories don't include cleaning up bad code, then cleaning up bad code is not a priority for the product owner. That's a feature not a bug.
As Uncle Bob points out, when code doesn't have tests, programmers are rightfully afraid of touching it. One approach to legacy systems that limits the risk of breaking working code is Eric Evans "anti-corruption-layer" [0] approach.
Good luck.
[0] http://allegrotech.io/working-with-legacy-architecture.html http://allegrotech.io/working-with-legacy-architecture.html