r/softwaredevelopment • u/EarlOfAwesom3 • 1h ago
How do you gracefully handle tech debt reduction?
As a new lead I got into this situation that might be familiar to a lot of people.
The code base is full of tech debt (what else) that no one ever cleaned up because shipping features was more important. So important that the code base became a collection of poorly designed things over the years that barely anyone knows about or touches.
Things that should have been cleaned up years ago are now starting to become apparent. They drag us down.
With a new PM, the team somewhat is more organized now but reducing tech debt is not on anyone's radar. In fact, PRs are sometimes piling up debt again that could be avoided in the first place if people would stop rushing.
I want to get this under control. How do you manage this with a team?
I thought about suggesting to actively plan the reduction of tech debt and reserve 30% of every iteration for unplanned stuff (bugs, urgent requests) and tech debt reduction.
This is not very popular with business and PMs but what can you do? What is your way that got acceptance from both devs and the business?
Edit: maybe I want to add: with gracefully I mean actively planned and with wits. Fixing a bug because you passively run over it by accident is not what mean by that ;)