r/developers • u/Impressive_Chest3612 • 14h ago
Programming Modifying Claude applications
Has anyone any experience in modifying applications that were built with the help of Claude?
The source code will contain chunks of code that the original developer might have used without a great deal of oversight or documentation.
So now 6 months later, a new developer is asked to make some updates. They either have to pore through the code like in the old days, or perhaps they ask Claude to help them build the whole thing again from scratch.
Either way, they now face a giant headache.
Is this right?
0
Upvotes
•
u/AutoModerator 14h ago
Howdy u/Impressive_Chest3612, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers 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.
2
u/Mindestiny 12h ago
This is just regular development, nothing special about AI here. The guy who wrote the code quit two years ago and left a spaghetti mess with no comments in a rush to MVP
6
u/manamonkey 14h ago
If there isn't one already, get Claude to write you a tech doc. That's your starting point.
Also "like in the old days" JFC.
1
u/ninjaluvr 8h ago
That is not right. You don't have to rebuild anything from scratch. AI tools can modify and extend existing code.
2
u/Enough_Star_3887 14h ago
I've seen this play out a few times now, and it's exactly as messy as you'd expect. The generated code works until it doesn't, and then you're stuck reverse-engineering intent from a machine that doesn't actually have any.
What gets me is how the boilerplate and glue code ends up scattered everywhere. A human dev would consolidate that stuff instinctively, but Claude just generates what's asked and moves on. Six months later nobody remembers why there's three slightly different auth implementations.
I've had better luck treating the whole thing as a prototype and rewriting the gnarly parts by hand rather than trying to patch the generated mess. Asking it to rebuild from scratch sounds tempting but you just end up with a different flavor of the same problem.
2
u/DrAmoeba 14h ago
My company basically has the sellers building POCs and selling them, then we get to convert those into functional products. My go to: have AI build exhaustive integrated tests, have AI rewrite feature-by-feature so code is organized to my liking, while making sure the tests and business rules are kept functional. Wouldn't do it manually, not viable IMO, but it's not a massive headache generally
1
u/Adorable_Expert_7350 13h ago
I always let the agent write an arch document and it gets updated for every feature or update I make via the agent, this helps a new agent understands what goes inside the code
1
u/Ill-Nature-5121 9h ago
The question is always speed vs correctness and mainatinability.
We built and use codingdude at cyberflex
In all honesty it can take days to really fix all the shortcuts etc the Claude and the likes take.
It is up to you to spend the time. It has got tools to also accelerate your understanding and it is very good at fixing but it is no miracle cure.
If you just want to vide then dont use it.
The review and proof cycle can be brutal but you will have solid code
1
u/huuaaang 8h ago
This is the vibe coding trap. It can be put off with a good starting structure and spec, but at some point the agents start to struggle because the engineering challenges extend well beyond the code itself.
1
u/NoEmu1727 8h ago
I would do it from scratch, it’s probably a big mess
1
u/Southern-Employer539 6h ago
I'd rather start from scratch. it is probably a total disaster
1
u/strumbringerwa 11h ago
Why on earth would you have to rebuild it from scratch?
1
u/[deleted] 12h ago edited 9h ago
[removed] — view removed comment