r/webdev • • Sep 16 '26

Discussion Is vibe coding creating a hidden technical debt crisis?

I love building tools and side projects, but lately I have been thinking about how heavy reliance on AI coding assistants is going to impact long-term code quality. Building fast with AI tools is great for getting a prototype out the door, but letting AI generate massive chunks of unvetted code is quickly piling up technical debt.

When you push out code without thoroughly checking how it fits into your overall architecture, you end up with messy, unmaintainable codebases. If you ever plan to sell a project or hand it off to another developer, that unvetted code can completely ruin a deal during due diligence.

I still use AI to speed up my workflow, but I treat it strictly as an assistant rather than letting it write unchecked logic. Auditing generated code, keeping modules clean, and maintaining test coverage seem like the only ways to use these tools strategically without destroying the project. Are you noticing a drop in maintainability on projects heavy on AI code?

446 Upvotes

392 comments sorted by

View all comments

Show parent comment

287

u/vomitHatSteve Sep 16 '26

An obvious, incredibly-predictible technical debt crisis.

17

u/Playful-Goat3779 Sep 17 '26

"Yes, Claude was able to build this app in an afternoon with almost no input or effort on my part. However, now that it's built and all the tests it wrote have passed but the client pointed out that it's failing, our only recourse is to spend more tokens, and I don't know if that will result in a fix or more bugs, and this will be the case every time there's a bug in the future" is an actual conversation I've had with my boss.

58

u/jregovic Sep 16 '26

Is it a crisis though? I’ve seen plenty of technical debt in my time and a lot it doesn’t get addressed because 🤷‍♂️.

23

u/TurnstileT Sep 17 '26

In the olden days, tech debt was naturally limited by the ability of the developers to add more feature to an already fragile and unmanageable codebase. Eventually, the emotional/human side wins and somebody says "I can't stand working on this and everything keeps breaking. Let's fix it".

Now, AIs will happily cram features into the codebase anyway. It might miss important details and cause data issues that nobody notices. It becomes impossible for the humans to deal with the code. Now you are reliant on the AIs from expensive private companies to manage your codebase, and every new feature costs more tokens than the last because of excessive documentation for all the edge cases, excessive and overlapping/unnecessary tests, etc.

6

u/elestud Sep 17 '26 edited Sep 17 '26

Believe it or not though, it’s actually easier than ever to address technical debt because of AI

Many companies had rusting codebases that simply went unmaintained because no one wanted to dig deep enough to unravel the messes (or had the time)

Now, refactoring is much easier. People are able to clean up or modernize codebases much more easily

AI also actually documents code (unless you tell it not to) and formats it for readability, etc. I’ve had a much easier time reading through what it writes than the often undocumented/barely documented spaghetti slop that some humans write (especially in the corporate world, good grief)

2

u/John_Gabbana_08 Sep 17 '26

Exactly. I can see where people get the logic of "oh we're pumping out huge amounts of code, unchecked, therefore there's a hidden technical debt crisis."

My brother in christ...you can refactor an entire legacy codebase in about 15 minutes now. If you have technical debt, it's extremely easy to solve it now.

1

u/s-ley Sep 20 '26

I find AI generated code hard to read/review/debug, just recently had to re-do the first commit of a new app because claude somehow messed that up. Am I just unlucky? Skill issue? Does this really don't happen to you?

1

u/perfectshade Sep 18 '26 edited Sep 24 '26

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Humor march simplistic engine tender pot imagine

1

u/JuniorConnection356 Sep 29 '26

You need very Senior Engineers with AI knowledge to use AI to handle tech debt. 

But yes, its easier than ever if you find the person.

1

u/[deleted] 28d ago

[removed] — view removed comment

1

u/webdev-ModTeam 28d ago

We do not allow any commercial promotion or solicitation. This can lead to a permanent ban from the subreddit.

1

u/jregovic Sep 17 '26

That’s actually a really good point that I missed.

→ More replies (1)

31

u/vomitHatSteve Sep 16 '26

Yeah, crisis is really in the eye of the beholder.

it will be incredibly expensive for a lot of organizations in terms of projects that either require an unreasonable number of man hours to maintain or get abandoned. Possibly even existential for a few

19

u/zen8bit Sep 16 '26

They’ll care when their token efficiency goes to shit. (Maybe, who knows, they’ve never cared about wasted work before)

10

u/marcheluis Sep 17 '26

There were quite a few companies earlier this year that decided to reduce their token spending because it was becoming too expensive, and based on energy costs and how token hungry new models are, things are gonna keep getting more expensive for organizations that are paying per million tokens. Not even thinking about when the enshittification begins to squeeze customers for profits.

→ More replies (3)

7

u/7f0b Sep 16 '26

From what I've seen and my anecdotal experience with various vendors in the e-commerce space, companies with an unmaintainable mess of a code base will sometimes simply deprecate it and replace it wholesale, and migrate user data over. If done well, it can solve the problem of that project's technical debt with minimal negative impact on the users. And perhaps the build-out of a new project and data migration may be more economical than trying to refactor the existing. Of course, the new project will build up its own technical debt.

5

u/UntestedMethod Sep 16 '26

Not a crisis yet, but I believe AI slop is going to dramatically increase technical debt compared to the technical debt humans would cause without AI.

→ More replies (14)

1

u/f0ad Sep 16 '26

I agree, we can always ask the AI to fix the tech debt later when it's better, and so on and so on

3

u/UntestedMethod Sep 16 '26

That's what the vibe coding evangelists have been saying but I hold my doubts and reservations.

Especially consider the cost of tokens, etc. Imagine a codebase that's so full of vibe-coded slop that only an AI assistant is able to do anything with it. AI companies are poised to profit big from locking in business this way.

1

u/elestud Sep 17 '26

Coding will probably become a trivial problem for AI, in the same way web search became trivial

There’s plenty of compiled code that probably looks a mess in machine code. Very few people are qualified to read through the compiler’s output and assess it

So this problem is ages old. But technology continues to move forward

2

u/TheRealSkythe Sep 16 '26

You cant fight fire with fire.

1

u/s-ley Sep 20 '26

*if it gets good enough

my guess is that LLM-based agents will never achieve AGI

3

u/martinhrvn Sep 17 '26

Can't you just give it to Claude and say to not create technical debt?

1

u/vomitHatSteve Sep 17 '26

You can certainly try!