What's tech debt now that we code with AI?
Is AI slop = tech debt? If so, is anyone going to "remove the tech debt"?
What about the tech debt from human-coding era? Stays? Or is that even better quality than the AI slop generated these days?
Is AI slop = tech debt? If so, is anyone going to "remove the tech debt"?
What about the tech debt from human-coding era? Stays? Or is that even better quality than the AI slop generated these days?
One thoughtful comment that is not AI-assisted unlocks the ability to create threads.
I think AI slop is a result of poor use of the agent at this point. The AI can write better code but that does not mean it can engineer to the desired outcome or business value in a better way, so instead of thinking about AI slop I think we need to think about product goals and clarity. I see a lot of people who start using something like Claude Code to build out something and they rush into it (this is no different than before AI when an engineer would start coding immediately before doing a spike, or digging in to the edge cases, deeply thinking about the problem they are solving), which results in a lot of iterations with the agent to mold the result into place instead of engineering it into the desired shape.
So, for tech debt: I think it really is the gap between the desired business value and the actual delivered artifacts (code, whatever). That is what we will need to deal with, which is actually.. the same thing.
There is of course the stuff that you (or your helpful agent) finds along the way that you skip in a rush and come back to - that will exist, simply because solving all problems all the time closes in on a nearly infinite amount of work (endless potential).
For past tech debt (and even present) I have sessions where I go through with Claude and knock out stuff, determine if it is actually debt, or poor design decisions, bad logic (which is often the case actually), etc.
Slightly tangential, but this is the first Q4 since we have had mass adoption of code harnesses like Claude, Codex etc. Traditionally Q4 and holiday slump seems to be when lot of organizations deal with tech debt tickets en masse. I'd love to see some data post Q4 on how companies have changed in their tech debt approach
In my opinion, tech debt still exists, and I think our AI agents should track them and improve them. I find that tech debt is anything that was decided + built with haste, without proper thinking. It is different from an MVP/POC; it is part of a mature system. Humans and AI should both be able to detect and have tasks in backlog to improve parts of the code and architecture that need that little bit of re-thinking.
I don't think AI slop and tech debt are quite the same thing, though they overlap a lot. Maybe what makes code tech debt now isn't that it's bad, but that it has no owner.
Tech debt used to be a deliberate trade. You knew the clean way but didn't have time, so you shipped the hack and left a TODO. Someone on the team knew the code was bad and understood why the shortcut was there. The debt was written down somewhere, even if only in one person's head.
With AI slop, often nobody made that trade. The code works and passes the tests, but no one fully understands why it looks the way it does. What worries me is that when the code is bad, you don't know it, because nobody really read it.
I think AI will rewrite that code rather than anyone fixing it. When writing code costs almost nothing, it's cheaper to throw away a module and regenerate it than to understand it. That sounds appealing, but you lose the understanding itself.
Some old human-written debt is ugly, but you can find the commit, the Slack thread and the person who wrote it to understand why it's there. I'd rather have a weird hack with a reason behind it than clean-looking code with no reason at all.
AI slop is not exactly the same as tech debt I think. AI slop is not really a trade-off you make, but in my experience turns up as something you did not expect. A button you didn't ask for, a behaviour you never defined. Tech debt on the other hand is in my view more a short cut you took, because doing it right was too complex. Short cuts like that are not really necessary anymore if you use strong models for coding, the difference between doing it as you should and with a shortcut is often just a couple of minutes (as long as you are not working with infrastructure). What is also important to remember here is that AI will write too much probably, which for a human would be extremely difficult to maintain, but AI writes code mostly for other AI now. For other AI's this is just extra context. Just keep your context updated.
As for removing this tech debt, I think that is where your AI slop might show up; AI starting to remove or change some of this old code because it reads that it was supposed to be "temporary". Now this is a real risk I think, although if you are deliberate in updating the quality of it will probably be better than the old temporary fix.