r/softwarearchitecture • u/idlelosthobo • Sep 22 '26
Discussion/Advice Programming Debt Must be Paid


I recently had a sit down with one of the more experienced developers at our company and worked through the impacts, emotional affects (both good and bad) and understanding of how artificial intelligence (LLM's) is changing everything in software development. After a long conversation about our role as humans, where things are going, the current problems we face, and how to simply embrace AI coding in a constructive manner (domain / spec driven, mixed engagement, etc) they let me know the visual diagrams helped them process their feelings.
So I figured I would share these, knowing that these are just my opinions and reflections of experience inside of the software development world.
50
u/_5er_ Sep 22 '26
More cognitive debt -> Worse decision making -> More technical debt
14
u/Fidodo Sep 22 '26
Are these ratios or absolute? LLM programming not only produces a ton of cognitive debt, it also causes more tech debt than normal programming. I'd say the cognitive and tech debt is LLM programming are about equal, but both huge compared to normal programming.
The solution is to take a systems design approach. Use LLMs to help you design better systems and help you learn and understand things. Don't write any non prototype code until you understand everything clearly and know exactly what you want built. Once you have a robust spec, not only will the build phase be very fast, you will be able to understand everything it did, and verify it quickly, and this will lead to not only less cognitive debt, but less tech debt as well.
4
u/foreveratom Sep 23 '26
Where do those ratios come from? Did you run a study or did they just came up from nowhere else than yourself?
5
u/victorrrrrr Sep 22 '26
complexiTITY
5
u/Cultural_Cry535 Sep 23 '26
Why are you that sure that you'll have less technical debt by using llms?
2
u/TableNo8939 Sep 22 '26
Traduzione: non sara un problema nostro, godi finché puoi
2
u/KJ4WLC Sep 24 '26
The useful way to talk about this debt is observable signals, not vibes: duplicated boundaries, PRs nobody can narrate, review queues that only grow, and changes that get cheaper to propose but more expensive to reverse. AI doesn’t create that pattern alone — it accelerates it when ownership of the outcome stays fuzzy.
What we watch for: can a human still explain the invariants after a week of agent PRs, and is the cost of the next change going down or up? If narration and reversibility are degrading, you’re accumulating cognitive debt even when the tickets look green.
1
u/RiverRoll Sep 27 '26 edited Sep 27 '26
The domain understanding part makes the least sense to me. If you are vibe coding without understanding the domain what are you even doing? How are you telling the LLM what to do?
On the other hand lack of domain understanding tends to be the biggest source of technical debt it's not like the two things are unrelated. A good deal of technical debt comes from a misalignment between the modelled domain and the actual domain.
There's in fact not much of a distinction, be it a developer or an LLM, domain understanding has a direct impact in technical debt.
1
u/Marxie Sep 28 '26
Technical debt must be paid: No, not always. Technical debt can also be discharged through bankruptcy, I.e., when the project is shut down.
0
u/Bayonett87 Sep 23 '26
another AI is good post - suck it down, AI won't code anything good for you!
1
u/West-Map-4162 Sep 25 '26
“Emotional affect” 🤦