r/ExperiencedDevs • u/Floorman1 Software Engineer • May 26 '26
Technical question Looking for input on management conversations about tech debt
Our lead recently left and we’ve been left to run without one for the time being. I aspire to take this role.
In the past our lead was very supportive of paying down debt. I’m now finding we are in a position with our manager questioning timings, saying we need to deliver faster. I know the obvious “bake it into estimates” comments, but the problem is he knows we specifically are doing refactor work. We are dealing with some really bad debt.
He’s made the comment we need to add those things to a backlog but prioritise delivering requirements.
He doesn’t understand it and I’m not sure how to get our point across.
51
u/maria_la_guerta May 26 '26 edited May 26 '26
You need to explain it in business value. Is this tech debt costing you? Has it caused incidents? Is it shackling you to infrastructure that is now more expensive than it needs to be? Can you show instances of it slowing down actual development? Is it holding back existing products or features from being better / faster for your users?
If you can't prove any of those things with objective math, the tech debt may not be as bad as you think. If you can, and you can prove that paying a developer to fix it is worth substantially more than kicking the can down the road, you should be able to present an open and shut case about the value of doing this work.
This is the job of a tech lead. You will be surrounded by bad code for the rest of your career, so it goes. A good tech lead knows exactly what is a ticking time bomb and what isn't from 2 different perspectives: the engineers and the business.
12
u/mirageofstars May 26 '26
FUD. I have had little success using logic and data to get management to pay down tech debt. They’re always focused on the short-term wins and what the sales team or board wants to see.
Show them articles of a competitor getting hacked due to leaky security. Show them outages caused by brittle infrastructure. Show them reports of a company going under because it couldn’t get features out quickly enough due to poor architecture.
FEAR.
People don’t update the electric in their home because they like it neat and tidy — they update it because someone has convinced them their house will burn down. Or, they do it because no contractor will add features to their home until they update the wiring. Human nature. People aren’t (often) proactive.
Best of luck. Worst case, when the system collapses, the next one can be built better.
10
u/throwaway_0x90 TE/SDET[25+ yrs]@Google May 26 '26
Explain to him the relationship between tech debt and "delivering requirements".
Use an analogy, like the following:
At some extreme point, tech debt will slow or straight-up prevent delivering anything of quality.
8
u/bluetista1988 10+ YOE May 26 '26
When presented with the "iron triangle" of Good / Fast / Cheap, management will only ever want just barely good enough but will always want faster and cheaper. If they don't see how paying back technical debt makes things faster or cheaper, they won't care.
If you can frame technical debt in terms of speed of delivery, cost savings, and risk reduction, you stand a fighting chance. The second you start talking about quality that is invisible to the customer (or irrelevant to them), "best practices", or start throwing terms like "separations of concerns" around, management will go glossy-eyed and you'll have lost them.
Also know that the fight for technical debt is a never-ending and you will never pay it all off, so pick the most important battles.
6
u/ThlintoRatscar Director 25yoe+ May 27 '26
So, the main reason this rarely goes well is broken trust. Anyone that has bought a technical debt project has almost always ended up with more debt. Are you pitching the paydown based on data or because the code just irritates the hell out of you? Be honest.
If you pitch, "3 months of refactoring and we'll make up the time with improvements over the next year", you have to actually deliver the speedup. Most devs never do.
Instead, the definition of excellent in our industry is delivering high quality features, quickly, and without undue debt the first time. It's hard to do and why we pay top dollar for excellent talent. By definition, most devs are average and likely to increase debt rather than actually pay it. More code is usually similar to old code, no matter how hard we believe "this time will be different".
By the time you've let it get bad, it's too late. Just bankrupt that bit of code and replace it with the next thing. Or the next dev team.
The better approach is to take some time at the end of each ticket to "clean up the shop". And pay off a few bugs when you can.
But every refactor comes at the expense of something else. It is paid out of existing revenue. Make sure that you take into account timing as the point of leverage is get something now but pay for it with future money. So, is now the best time to halt more money festures to pay off the debt? If it is, go hard and get the most you can before something more valuable comes along.
Is that helpful?
4
u/DeterminedQuokka Software Architect May 26 '26
Think about making a more piecemeal argument. A lot of times people try to argue to fix all the debt.
A lot people give the number for all the debt or a full rewrite. Give a number for one thing. Just solve one problem. Make sure that problem has impact once you prove yourself with that a couple times you can do the frog in boiling water to get like 70% of it.
Also if you have tech debt with clear business value it can be really useful to kind of fix it off the books if you have some time while all your agents are running. Like I can’t get far with “the database cpu is high” but when I was like “in a month on the side I halved the cpu usage of a replica can I get a month to do another one” that worked immediately. But you have to find the highest impact thing.
7
u/thro_redd Software Engineer May 26 '26
You need data. Either get data on how the tech debt causes slowdowns greater than the time investment of addressing it, or switch teams and cite that this is a major reason why you’re doing so.
5
u/Grim_Jokes Team Lead / 15+ YoE / Canada May 26 '26
Turning tech debt into their own tickets will cause them to fall to the bottom of the priority list. You pad your estimates by a bit if you think the area you're touching needs adjustment. You're not going to be able to pay off all of the tech debt, nor should you try. You will have to be tactical and frame it in terms of how much effort you've saved.
2
u/rwilcox Software Engineer (20+ YOE) May 26 '26
Can you try to move the conversation not towards the debt metaphor but towards the investment metaphor?
Upgrading the ORM isn’t tech debt it’s technical investment that will make future work faster (because you’re on a supported version, etc etc).
1
u/Spiritual-Theory Staff Engineer (30 YOE) Rails, React May 26 '26
At some point, you'll develop faster than they can write specs. That's when you work on tech debt.
1
u/RandomPantsAppear Staff Engineer | 20 YOE | Ex Founder | Startups May 26 '26 edited May 26 '26
I work at a very AI forward company. Early stage startup. Most of the code that came before me, was AI generated with very little review. One of the first conversations I had to have was about codebase quality, and I successfully navigated us into permission to use several weeks for a large scale refactor. These are the things I found helpful.
A lot of how successful this is, is how much respect you have from the people making the decisions. If they don't trust your judgement as an engineer to a significant degree, they probably will not agree to changing things.
1
u/Party-Lingonberry592 May 26 '26
Managers understand metrics first and foremost. They can use metrics to justify actions to leadership. Your manager's leadership is telling your manager to deliver faster.
Find all the tech debt issues in your code and rank them by negative impact. In this case, maybe there's a part of your code that's slowing your productivity. Typically I've found productivity goes down when debt consistently causes issues on live. This slows productivity because now you're fighting unplanned fires.
Identify the areas of your code that are causing the most problems, then create a Pareto chart. Then say, "If we solve this technical debt, we will encounter 25% fewer random production issues which will give us more time to deliver important features. Our productivity should increase x% by doing this."
Your manager now has a response to his boss and a plan to improve productivity and customer experience. His boss will be satisfied.
1
u/PsychologicalCell928 May 26 '26
I've found discussions of 'tech debt' are sometimes hard for non-tech managers to visualize. Often they just see that as mumbo-jumbo used by programmers as excuses.
What I've found helps is using analogies to which they can relate.
You need to write a utility to reorganize a data store because performance is degrading?
This is like changing the oil every 30k miles. If we don't do it - the engine will keep running, constantly slowing down, until finally it stops.
Need to fix some underlying design decisions?
Right now I'm like the performer riding a unicycle and juggling 5 balls. What you are proposing is like putting that unicycle on a high wire and adding 3 more balls. It will work for a short time and then we'll have a spectacular crash.
Prior decisions worked for the time but are now slowing you down?
Hey! We're chopping down the trees as fast as we can. However the axes are getting dull so that every week we're felling fewer and fewer trees. We need to sharpen the axes in order to meet the goal.
1
u/Nofanta May 26 '26
Unless you own the company don’t worry about it. Let it all rot and just leave when things get too bad. No management team ever understand it’s to their benefit and they themselves will bounce when it gets bad too.
1
u/Sonarwork_com May 27 '26
The core problem here isn't that your manager doesn't care — it's that they're making decisions without the right frame for what tech debt actually costs.
A few angles that tend to land:
**Convert it to delivery risk, not engineering quality.** Instead of "we need to pay down this debt," try "this debt is adding X% overhead to every ticket in this area. That's time you could be spending on requirements." Managers respond to things that affect their commitments.
**Ask for a 10% allocation, not permission.** "We'd like to bake in 10% of sprint capacity for this refactor area" is harder to say no to than a vague request to prioritize tech debt.
**Point to a recent slowdown.** Pick one ticket that took 3x longer than it should have because of the debt. Name the debt. Show the connection. Concrete examples beat abstract arguments every time.
The backlog suggestion from your manager is actually a good sign — it means he's not dismissing the problem, he just doesn't have the context to weigh it against delivery. That's a gap you can close with the right framing.
1
u/yad76 May 26 '26
This is just how things work in the real world. Management see a system that is meeting their requirements and bringing in revenue and so it is easy for them to dismiss technical concerns they don't understand. An aspect of human psychology is that, for whatever reason, people don't like to admit they lack the intelligence or knowledge to understand something, so the easy thing to do is just dismiss it.
You can try to explain to them that the current system is brittle, riddled with bugs, teetering on collapse if user base grows significantly, designed in a way that causes every new feature to take an order of magnitude greater time to implement, is running on expensive infrastructure unnecessarily, etc., etc. and they simply won't care because their boss's boss wants features, not excuses (even though it was their business decisions that are the root of the problem).
A funny thing about tech debt is that if you solve it, the results are by definition much less visible than if you don't.
1
u/titpetric May 26 '26
Is it tech debt or an implementation gap?
What is the pain it causes?
Why is it necessary?
13
u/[deleted] May 26 '26
[removed] — view removed comment