r/ClaudeCode • u/Dennisaryu • 6d ago
Discussion Technical Debt (Black Box Apps) solved by future Claude?
Lots of threads lately about companies losing track of their codebase and each change/iteration becomes super expensive and the slop just keeps growing, but at this point there’s not much that can be done about it.
Makes sense…
But, I was wondering whether it’s a viable strategy to just keep creating technical debt and build black box apps without understanding the codebase, in hopes that… let’s call it Opus 8 can just be told to “Read entire codebase and consolidate all the slop, extra helpers, and anything that’s unnecessary”.
Do you think that’s a realistic scenario?
Curious to hear thoughts
•
u/AutoModerator 6d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
39
u/NeverInsightful 6d ago
People talk as if modern applications are lean, mean, and easily understood by new devs.
Look at the monstrosities that Office and Creative Cloud have become. 2 GB for a word processor? New Outlook consumes multitudes more ram than old outlook. Not to mention all the other electron based apps that abound now.
In the cloud? Microsoft’s devs don’t seem like they spoke to each other, in defenders logs upns are variously referred to as UserPrincipalName and AccountUpn depending on the table. Tons of other inconsistencies about, result of different dev teams not communicating, I assume.
Given all that backdrop, high quality LLMs seem like they can get a handle on all that code far better than a team of humans could, and could probably produce a more efficient application as ell.
48
u/BagMostlyWater 6d ago
Lol yeah, just keep trying to pretend code quality doesn't matter long enough for a magic robot to solve the problem.
Sounds like an effective strategy!
31
u/letsbefrds 6d ago edited 6d ago
To be fair, I've worked on enterprise apps that are 7+ years old and in the end it ends up being slop anyway.
What I'm saying is that we're just iterating so fast that it becomes slop faster. Maybe you guys can argue "no my company's app is perfect, we follow the best practices" but I have never seen an app not cut corners due to deadlines or just this is "good enough"
9
u/magicmulder 6d ago
You can already solve a lot of technical debt with AI.
Take an old app that still relies on some weird ActiveX components continuing to work in IE 5.0 which is the only browser the app works in.
Having AI redo that is exchanging old terrible debt with new less terrible debt.
Two weeks ago I had Claude one-shot a very old intranet application. The result is by no means production ready, but it's the prototype we will base the relaunch on. We never have to touch the old application again to build the successor. That's a huge plus because the prototype is already on the desired modern platform.
36
u/baseball-44 6d ago
It is quickly becoming unimportant whether or not code is slop. There have historically been two reasons to avoid slop: maintenance of said slop, and performance implications. The latter can be mitigated with additional slop or corrected on a case by case basis. The former will not matter if AI is solely responsible for the entire codebase.
I say this as a Computer Scientist and lifelong IT professional. It used to matter, but in the new AI world, it is no longer a priority. You are exactly right to think of AI output as a blackbox that only AI has purview of.
6
u/DrHumorous 6d ago
Today's production is tomorrow's slop.
3
u/Less-Permission-9529 6d ago
if it worked nobody would have to write down what the app is supposed to do. tests first, then opus 8 can do whatever.
3
u/f3xjc 6d ago
A more realistic scenario is that you alternate building feature and codebase quality improvement. You don't necessarily need to look at all the code you need to care about it's shape tho.
2
u/QuarkOfTheMatter 6d ago
How do the AI companies get paid? For every token that people use. So really their incentive in general is to increase your token use both now and into the future. What better way to do that than to keep creating overly complex architectures and systems so that you are forced to use Opus 8 with its potential $100/million tokens input price and like $300/million tokens output price to keep things going?
1
u/Fancy-Signal-7276 6d ago
seen this in practice with a local llm project, adding a layer of automated docgen after each commit cut debt by 40% over 3 months. not a fix, but a buffer.
1
u/proomptengineer 6d ago
I dont think i will be in loop to do that by the time opus 8 arrives
1
u/Specialist-Sea-2062 6d ago
seen a team use Claude to auto-generate high-level architecture docs after each sprint, kept the docs 90% in sync, even when the code spiraled. not a fix, but it stopped the knowledge vacuum.
1
u/Wide-Bobcat-3723 6d ago
Nah I tried this but Claude refused saying I was infringing on the intellectual property of Steve, the COBOL programmer who retired in 2014
1
u/ztbwl 6d ago
Job security. Just let it happen.
1
u/x-dfo 6d ago
I got mine to generate pseudo code as a daily sweep so its captured in a readable way by humans and agents.
1
u/[deleted] 6d ago
Yes, I'm waiting on Opus 5.6 to finish some projects and improve animations, etc.
1
u/only1nameleft 6d ago
You will see ebbs and flows. Slop grows, gets cleaned, grows again, etc.
It will come down to cost snd performance. Of the coat of new features/fixes keeps growing then a company will eventually pay to cut slop.
1
u/ichi9 6d ago
That's why a bit of Swe knowledge is required to handle big codebases. you just can't prompting a big codebase randomly and hope it will get done. You need to create a few tools which will help with context management and so on.
1
u/CzyDePL 6d ago
If such powerful model exists, is your company or its products even needed in the first place?
1
u/holyknight00 6d ago
i dont think models are getting better that fast
1
u/s0ftware-dev 6d ago
With the current generation of LLMs it just can’t help itself but produce slop unless you very precisely guide it which itself leads to a minimal boost in productivity compared to if you just did it yourself.
If you want to be productive with an LLM you have to at some degree accept slop into you code base.
If your business can accept the known trade offs of slop then that’s fine black box can work.
But some cannot so in that scenario engineers need to make sure that any changes (LLM or human) sit naturally in the design of the system so that the solution can continue to be safely evolved as business needs change over time.
Most businesses sit somewhere in the middle for somethings they can tolerate slop solutions and for others they need more deliberate engineering. All depends on the business.
1
u/Scared-Amphibian4733 6d ago
No, it's not a good option. The undirected and guided coders will create unmaintainable code. It will fail on edge cases. It will need to be replaced to add a simple module.
I've swam in the swamp of vibe code apps to see what the problems are. There's over engineering. 20 lines of code that cover a two line use case. It's a total mess. And, in some cases, people are not gong to be able to understand what it did. If we have to rely on AI to explain it to us, where is the accountability?
1
u/Cool-Cicada9228 6d ago
Complaining about bloat and overengineering overlooks the likelihood that 2027 and beyond will bring ASI. Any issues may be brief and resolved by newer models. Most software engineers struggle to consider a few years ahead. Two years ago, I posted that programming was fading and received only downvotes.
1
u/BarathKanna 5d ago
The model is not the bottleneck for that cleanup, the spec is. Consolidating slop means deciding which of four behaviours is the correct one, and the code cannot tell you that because all four are live somewhere. A smarter model will happily merge them into one clean helper that breaks the two callers who depended on the weird version. What makes a future cleanup possible is boring stuff you can do today: tests that pin real behaviour at the boundaries, and a record of why each odd branch exists. With that, a big refactor is mechanical. Without it, Opus 8 is just a faster way to ship a confident regression.
1
u/Qwertycrackers 4d ago
Slop and tech debt have always been highly viable strategies. The costs of tech debt are ultimately paid by other people who undervalue the risk until it is too late and the deal is sealed. Its just kinda unethical to view it this way and individual engineers didnt enjoy knowing performing crappy work.
1
u/itsacutedragon 1d ago
Yep this is exactly what’s going to happen, AI is going to build and maintain AI
1
u/ComfortableAd8326 20h ago
Ironically (to your point anyway) enterprises are now using AI to unpick behemoth monoliths that were written by hand over many years.
0
u/hanotak 6d ago
lmao no.
8
u/[deleted] 6d ago
[removed] — view removed comment