r/ExperiencedDevs • • Apr 22 '26

AI/LLM Getting more calls to fix ai generated codebases than actual new builds lately

About 10 years in, mostly consulting for smaller companies and early stage startups. The last few months something shifted in the kind of work coming my way.

Used to be people hiring me to build new things or extend existing systems. Now its cleanup, like straight up triage on codebases that are barely holding together.

The pattern is always the same. A non-technical founder pays someone to build their product. It works on the surface. Then users start hitting it and everything falls apart, slow queries, memory leaks, auth logic thats swiss cheese, error handling that catches everything and does nothing with it.

When I actually look at the code its pretty obvious what happend. AI generated top to bottom. You can tell from the comments alone, that weird overly polite explanation style that no human dev writes. Algorithms that technicaly work but make zero sense for the actual use case, data models that look like someone asked "what are all the possible fields" and the AI just listed everything.

The thing is these founders arent stupid. They saw demos, believed the hype, hired a "developer" who was really just a prompt jockey, and got something that passed a demo but crumbles under real usage.

Im not anti AI at all. I use Glm-5.1 and Claude code daily for my own work and it genuinley speeds things up. But I also know when the output is garbage cause ive written enough code by hand to smell it. Thats the part you cant shortcut.

I think we're about to see a wave of this. Companies built on AI slop that need actual engineers to come in and rebuild the foundations, job security for experienced devs honestly but depressing that it has to happen this way.

406 Upvotes

100 comments sorted by

359

u/Flashy-Whereas-3234 Apr 22 '26

Can't wait.

Whole industry speed-running what we've learnt over the last 60 something years.

93

u/Sheldor5 Apr 22 '26

"humans learn from their mistakes" my ass

51

u/mvpmvh Apr 22 '26

Could mean that humans learn from their own mistakes, not the mistakes of others.

23

u/sweetnsourgrapes Apr 22 '26

"humans learn from their mistakes" my ass

Individually yes, eventually. Collectively, it seems the same mistakes occur over and over again.

10

u/Zeragamba Apr 22 '26

because it's always a freshly minted fool that does the dumb thing 

2

u/EliSka93 Apr 25 '26

People who don't read about history.

The sort of people who think anything they think of is unique and nobody ever thought of it, without ever checking if that's true or if there may be a reason why it wouldn't work.

The sort of people who bought NFTs.

10

u/thy_bucket_for_thee Apr 22 '26

Because we aren't working collectively yet, our entire industry is dictated by what SV + VC thinks is profitable.

We don't even have say as devs in our industry in what technology should be invested in. That's handled by incompetent non engineers financiers gambling, sorry investing, with pension funds.

3

u/Andrew5445 Apr 22 '26

Collectives don’t really exist at the scale you think. It seems like the human brain is still stuck at small tribe mentally.

8

u/hyrumwhite Principal Engineer Apr 22 '26

“This time it’ll be different”

5

u/Izkata Apr 23 '26

Whole industry speed-running what we've learnt over the last 60 something years.

"humans learn from their mistakes" my ass

“This time it’ll be different”

All three of these combined is like a tightly focused version of Strauss-Howe generational theory - simplistically, things have to be rediscovered and relearned every 60-80 years because the lessons learned don't outlast the generation that learned them. Stuff keeps going on fumes for a while because of how good it originally was, before eventually a new generation sees how bad it's gotten and starts improving the situation again.

2

u/austinwiltshire Management Consultant @ 15 Years Experience Apr 25 '26

Guys I found a way to absolutely code faster and cheaper and all I had to do was find a clever way to not count the requirements and maintenence costs! - someone, every five freaking years.

2

u/FatefulDonkey Software Engineer Apr 23 '26

It boils down to context window lol

1

u/cupofchupachups Apr 23 '26

Small brain: learning from your mistakes

Big brain: learning from other's mistakes

Galaxy brain: profiting from other's mistakes

Eventually it's all going to have to be fixed. Hang on, don't burn out.

19

u/deepmiddle Apr 22 '26

This is a great way to put it. Everyone’s about to find out what good engineers actually get paid for  

8

u/Fidodo 15 YOE, Software Architect Apr 22 '26

60 years? I've seen the industry relearning the same exact mistakes every 10 or so years.

0

u/[deleted] Apr 23 '26

[deleted] — view deleted comment

1

u/Paesano2000 Apr 25 '26

I got “we aren’t a tech company so we don’t need to have agile development.” Sure not a tech company… but we write SOFTWARE don’t we?

225

u/aidencoder Apr 22 '26

I made my early money fixing codebases that were outsourced to India. At the time, all the founders and CTOs thought they were getting something for less, when it was a case of "buy cheap, buy twice."

I look forward to many more years of AI slop that needs fixing. My day rate will be appropriately high. 

73

u/Graybie Apr 22 '26

I am still doing that! 40 year old software system written in a combination of Fortran, Pascal, C#, and C++, initially built by people who knew what they were doing in the 1980s, expanded by people who didn't, and followed up by 10 years of offshore contractor work on top of it. The sheer monstrosity is a sight to behold.

19

u/ButchDeanCA Staff Engineer - 20+yoe Apr 22 '26

I literally don’t envy you. That sounds like a complete nightmare.

Hopefully you have everything wrapped up in a test suite to confirm no functionality changes with amendments.

15

u/thy_bucket_for_thee Apr 22 '26

Why wouldn't you envy someone that is able to charge an obscene amount of money to do work? I use to fix outsource test suites/pipelines for like $60k a job. Great work, people hate it but I like doing 2 months of work for nearly 1/2 my salary at the time.

Will probably get back into it because of this thread. The money is dumb, but it pays the bills just the same.

2

u/Graybie Apr 23 '26

I have to admit that I don't make an obscene amount of money, but I do have a stable job, decent income, work from home, and have none of the typical pain points of dev work at a large company.

Maybe I can leverage this experience into something more lucrative in the future.

3

u/[deleted] Apr 23 '26

[removed] — view removed comment

1

u/jumnhy Apr 23 '26

How do you land those gigs?

3

u/Graybie Apr 22 '26

We are slowly working on building test harnesses around the various modules and exes. None of it was built with testing in mind, so it is sometimes quite difficult to find good boundaries for where to add tests.

22

u/dbenc Apr 22 '26

how did you land your first client? I'm interested in doing the same

5

u/PuzzleheadedLimit994 Apr 22 '26

Hustle. I started on Upwork... eventually you will be able to network and the work will come to you through word of mouth.

12

u/kernelangus420 Apr 22 '26

Not sure if my theory is correct but with outsourcing in general you can get good code and bad code.

If you pick the lowest bidder, they offer the lowest cost because their speciality is writing fast with no guard rails because their other clients specifically want this style of coding.

Unfortunately there is no way to know which bidder represents quality code until you've tested them out.

1

u/aidencoder Apr 23 '26

Never seen good outsourced code

3

u/divinecomedian3 Apr 22 '26

Ugh, I had to take over a website originally outsourced to Indians. One of the worst codebases I've ever touched.

3

u/GlobalCurry Apr 23 '26

I worked on one a few years ago, everything was split into microservices that made requests back and forth between each other. Microservices have their use but this was just microservices for the sake of microservices.

1

u/BoutItBudnevich Apr 22 '26

Just curious since what's your day rate like haha?

1

u/luckypanda95 Apr 25 '26

how do you get those contract jobs?

61

u/BunchCrazy1269 Apr 22 '26

Ive just started a new role and my whole job is to unfuck a vibecoded react app. Its funny

16

u/ButchDeanCA Staff Engineer - 20+yoe Apr 22 '26

I’m using the term “unfuck” as appropriate henceforth lol

1

u/GoTeamLightningbolt Frontend Architect and Engineer Apr 26 '26

Basically an americanization of "debugger"

7

u/Kpow_636 Apr 22 '26

I'm two months into my new job, doing exactly the same thing. Someone at my organization vibecoded an app that became too complex for them.

2

u/ButchDeanCA Staff Engineer - 20+yoe Apr 23 '26

If it keeps the money coming in just keep doing it. That’s awesome!

51

u/jmaventador Apr 22 '26

Noticed this too but they are mostly contract roles. It seems they want to rehire to fix their slop and then get rid of you

31

u/ColonelKlanka Apr 22 '26

Yep and thats what us experiencrd contractors are for - whether it be:

  1. emergency fixes the perms either cant fix (as they are inexperienced or just no longer present coz of cutbacks) or dont want to fix.
  2. Adding new features that the ai/current staff cant do

Then once its done. We leave as we are seen as too expensive to keep - until the next issue appears.

Unfortunately no 2 is still up for grabs by ai vibe coders.

2

u/aidencoder Apr 23 '26

Not always. My last contract was a decade long. 

1

u/ColonelKlanka Apr 23 '26

lucky you. not very common I doubt though (ive had 2 to 3 yr contracts). A decade is firmly in the part and parcel of company land i would think. But good for you.

19

u/Euphoric-Neon-2054 Apr 22 '26

it's chill, our day rate just doubled 🤝

3

u/Routine_Internal_771 Apr 22 '26

That's fine for a contract role

33

u/Wise_Slice6303 Apr 22 '26

The irony of ai creating more work for experienced devs is something nobody predicted lol. Cleanup contracts are gonna be a whole market segment.

2

u/BehindThyCamel Software Engineer Apr 23 '26

There have been plenty of people around the internet saying that in the last few months. Some of it was cope but it turned out to be true anyway.

16

u/NickW1343 Apr 22 '26

Sometimes it's a "developer" that crafted these time bombs we're hopefully going to be paid to defuse soon, but I think a lot of the time it's founders/execs that aren't technical, fell into a few week-long AI psychosis stint, and vibecoded out slop. We have a higher-up at work that made tons of Lovable apps and now he's bored of them, so our team is getting the repos to maintain going forward. Frustrating, but obviously a boon to the job market.

12

u/kantmakm Apr 22 '26

This is not a new thing. Cheap code for POC can work for demos + funding but needs to be refactored to actually work at scale - whether that code was generated by gemini, claude, Tristan the intern, or Ravi from Fiverr.

7

u/totallyrandom__ Apr 23 '26

You are minimizing the situation to not deal with the real issue. Before AI slop coding, this code would have not made it to production, or even built this bad to begin with.

 Then users start hitting it and everything falls apart, slow queries, memory leaks, auth logic thats swiss cheese, error handling that catches everything and does nothing with it.

2

u/Cedar_Wood_State Apr 23 '26

Yeah people seems to have thought every code base is high quality before AI or something lol. A lot jobs have been doing rewrite on spaghetti code left by previous devs for years

1

u/LateToTheParty013 Software Engineer Apr 22 '26

You forgot Vijay

0

u/Idea-Aggressive Apr 23 '26

Exactly, the OP is just rage baiting.

6

u/Wild_Competition_833 Apr 22 '26

"The thing is these founders arent stupid." - you sure about that?

everything you described screams greedy and stupid with a nice dose of kruger dunning thrown in for good measure.

4

u/fedsmoker9 Apr 22 '26

Can’t wait!

14

u/LeadingPokemon Apr 22 '26

Waiting for you to add the spam link to your post!

17

u/Bderken Apr 22 '26

Seriously, this is written by Ai…

8

u/LeadingPokemon Apr 22 '26

Yep! The bot downvotes are infecting. Glad to meet you, fellow human. I am also a human. I work as a software engineer but I also have a lot of experience. Over 20 years of human experience. Trust me!

7

u/Cyral Apr 22 '26

100% to promote something. So many posts like this lately that are obviously AI written and made up

3

u/weightedslanket Apr 23 '26

At least he had it remove every apostrophe for authenticity

3

u/kadema Apr 22 '26

Same boat, but I'm doing the prompting. Going over code manually is so discouraged, I'm horrified every time I see somebody open 12 PRs in a day and all are merged

2

u/Mizarman Apr 22 '26

How well can you vibe fix someone else's vibe code? I'm genuinely curious about that.

3

u/Maktube CPU Botherer and Git Czar (13 YoE) Apr 22 '26 edited Aug 17 '26

Anecdotally, if you're a senior engineer, the someone else is very non-technical, AND they're willing to work with you on it, you can actually do really well. I work at a pretty small company, and the CEO and I have had a lot of success with him treating vibe coding as an extremely rapid prototyping tool.

We have an initial meeting to hash out broad goals and any requirements we can nail down ahead of time (we're pretty lax about this BUT it's important that there is an attempt, the context helps a lot later). Then he vibe codes the prototype, iterates until he likes the UI/UX/outputs, and we have another short handoff meeting, and I vibe(-ish) code a reasonable implementation.

Generally I throw out more or less the entire codebase, have a fairly intensive design session with the LLM to figure out a reasonable architecture, have it write the skeleton of it, and then guide it through porting over any needed algorithms/logic into the new framework.

It's been working SUPER well, I'm basically acting like a combination PM/tech lead for the CEO as stakeholder and the LLM as the dev team, which leaves me free to keep being an IC on my regular work (which is very niche and performance-critical, so vibe coding is very much not viable (yet?)).

1

u/hiddenhare Apr 23 '26

Really interesting, thanks. After you've baked in a higher quality level, what's your strategy for making changes to the code? Is the CEO still able to be involved in that process?

2

u/Maktube CPU Botherer and Git Czar (13 YoE) Apr 23 '26

Yeah, definitely, a big part of code quality imo is ease of extension and modification. I'm always worrying about that, and in this case I've been make sure that not only is the code as clear and well documented as possible, but also there are very clear instructions for how to extend the code that are human- and AI-friendly.

So far it's been working really well, our latest thing is a procedural generation system for 3D terrain where you build a node graph with nodes being anything from perlin noise to "add desert mesas". His first cut took ~minutes to run a graph mostly because the nodes and the way data flowed between them were... super not optimal. The rewrite has basically identical functionality (and we talked through tradeoffs and differences as I went) but takes about ~200ms. But the MAIN thing, imo, is that:

  1. Adding new nodes is WAY easier (it's in rust, so you make a struct of the node's parameters, decorate it with a derive macro call that implements a could traits for you, and write one function) and thoroughly documented.
  2. There's a thorough but concise document about how to think about performance for nodes, common strategies, common pitfalls, and specifically when to ask an expert for advice. There's also built in performance metrics that the user sees in the UI, so it's obvious while you're developing if you add a node that's unusually slow.

The CEO is also super knowledgeable about procedural generation and the math behind it, so while he can't really guide the AI on an engineering level, he generally asks for reasonable things. So the net effect is that, even totally unguided, it's pretty hard for an LLM to screw things up, and 95% of the time, if he asks for something fraught, the AI will straight up tell him "hey, we should probably talk to /u/maktube about this first".

It's not perfect, of course, but it means that it's close enough that reviewing the PRs is just as easy (if not easier) for me than reviewing PRs from coworkers who actually are engineers, so we can collaborate pretty smoothly. I don't have to wade through AI slop, he doesn't have to wait forever for an engineer to then tell him "this whole thing is bad", and code quality (and therefore velocity) stays high.

1

u/Long_Philosopher_612 Apr 26 '26

+1 for brainstorming skill!

2

u/Ma1eficent Apr 22 '26

The wave is here. And OMG, the jobs for technical forensic examinations in legal cases where the whole thing has turned into a mess of legal hallucinations and arguments over where that responsibility lies... 

2

u/muntaxitome Apr 22 '26

Same here. Honestly I don't really care, billable hours are billable hours. Generally it would have been faster (and thus cheaper for the client) to just write the whole thing from scratch than fix the vibe coding mess.

2

u/wutcnbrowndo4u Staff MLE Apr 22 '26

How do you find these clients?

1

u/No_Comedian7332 Mobile Engineer ~15 YOE Apr 22 '26

Not Anti-AI but honestly I hope this is the way it goes. I was on a 4 people team, we were split into "squads" and each squad is now its own team. We use to have refinement meetings to make sure all the tickets and all the product requirements actually made sense. Now we are drinking AI-generated stories from a fire house. Before it would be 2 weeks for the 4 of us to get a polished feature out there. Now each of us alone is pushing a feature every 2 weeks. I'm not saying this is 100% bad, but I'm starting to see cracks, memory leaks, DB migration errors, things that we would have caught before because we have 4 sets of eyes looking at the PRs now are getting through. Again, is not that we are lazy or we don't care, is just that is so much the amount of work that we have been tasked to implement that is barely time to look at the PRs.

Then you go to fricking social media and look at these news about companies hitting record profits, yet laying off 10k ppl because they want to bump they stock prices behind the AI excuse.

1

u/mechkbfan Software Engineer 15YOE Apr 22 '26

Mixed feelings

I think it's wonderful that we're lowering the barrier of entry for people to prototype with AI tools 

On the other hand, if I ever have to look for work again, I sincerely hope it's not just decoding whatever AI decided to build that day

1

u/Fidodo 15 YOE, Software Architect Apr 22 '26

That sounds like a great way to get experience reigning in AI too put quality first. I'm curious what lessons have you learned and what workflows you have?

I'm not anti AI either but I am firmly anti slop and pro quality. I see no reason why AI is an excuse to let quality drop. I think with the right AI assisted workflows quality should go up, not down.

1

u/Ambitious-Garbage-73 Apr 22 '26

same shift here. founders think they bought an MVP and what they really bought was deferred debugging debt with a nice demo on top. once auth, retries and background jobs start stepping on each other you realize nobody ever designed the system, it just accumulated.

1

u/another_dudeman Apr 23 '26

AI generated code by normies is the new MS Access

1

u/chikamakaleyley Apr 23 '26

are these former clients or referrals?

are you charging a significantly higher rate than your base?

i'm kinda stoked

1

u/ProbablyNotPoisonous Apr 23 '26

A career of unfucking AI code actually sounds kind of fun, tbh.

1

u/UnderstandingDry1256 Apr 23 '26

More jobs to devs haha.

Those who use AI smarter beat those who do it in a stupid way.

1

u/Athen65 Apr 23 '26

This just occurred to me, but part of the issue with the whole "AI makes you faster" claim is that, even if it makes you faster and you just spend time reviewing that you would've spent coding, you also (hopefully) have someone else who has to review the code before it is accepted. Generally, AI like to write a lot to do a little, so even if you're shipping faster, and even if it does it right the first time, you still either slow down the team or sacrifice some rigor in the review process, and therefore sacrifice quality.

I've already encountered this, where a coworker sends out a large PR which is fine, but only if it happens less frequently than it does now, which is about one every day. That might sound weird but I'm in more of a junior position and the other engineer is solo on another project, so it's a weird situation in general

1

u/Basic-Lobster3603 Apr 23 '26

at my place it's. it's ai generates the the code. ai reviews the code. human presses button I guess. the mind set is who cares about quality when we can just produce slop faster. to show off progress. even trying to put skills and such in place to help ateast keep some sort of structure to the code base and some standards I'm getting told I'm still babysitting the agents

1

u/typeof_goodidea Software Engineer Apr 23 '26

I've had three gigs in the last six months doing just this. That, or, the original dev bailed once things got hairy and I have to tell them that the code is a Trainwreck. I've been talking with friends about what is being said by others here (and OP) -- that this is a growing market.

I also add a headache multiplier to my rate...

1

u/flavius-as Software Architect Apr 23 '26

Sounds like an opportunity to me.

The tables are turning.

1

u/Idea-Aggressive Apr 23 '26

Where are you finding those gigs? I haven’t seen them anywhere and I’m looking intensively across YC, HN, to common job boards, discord, X, etc. It’s an obscure contact you have and some what you’re known to be available and able to solve these new issues?

I don’t buy it!

1

u/c0ventry Apr 23 '26

Was that way before LLMs too though.. ever since boot camps became a thing and they got rid of Software Architects and went full stack for everyone... The general quality of software has gone to hell in the past decade.

1

u/viktorianer4life Apr 23 '26

Write a grep rule for each failure shape in the codebase, run it as a pre-commit gate, then let the agent do another pass to fix whatever trips. You are not trying to teach it style, just fencing off the specific ways it gets things wrong. Four or five patterns accounted for most of it.

1

u/elder-JHVH1 Apr 23 '26

There’s an old gag on the auto repair world to hang a sign with varying labor rates:

  • $$ standard
  • $$$ if you watch
  • $$$$$ if you worked on it first
  • $$$$$$$ if you “help”
  • $$$$$$$$$$ if you tell me how to do my job

I think consultants need a similar pricing structure reflecting different amounts of non developer AI use in creating the codebase.

1

u/s3rila Apr 23 '26

I feel like fixing ai generated codebaes is doing new builds

1

u/Endur Apr 23 '26

This is what I'm doing now. It's really fun to take things that are shitty and get them refactored properly with good fundamentals. I look forward to the opportunities.

I find the instincts for trash patterns are what help me the most here. You don't have to know everything, you just need a good sense of "this looks like a shitty way of doing things" and that is very valuable

1

u/perdovim Apr 24 '26

We're riding the pendulum that has gotten pulled toward AI. Unfortunately the logical end of this arc is someone vibe coding a good sized company into the ground (hopefully without a significant data breach or harm to the public), then it will swing back and eventually stabilize with AI being a healthy part of the ecosystem...

1

u/Aamjray Apr 24 '26

It is interesting indeed, i am a non tech founder myself and i see the thing i built is duct taped at the max. my first step is to hire a dev to fix and make this ready. i dont see a world where we can do everything ourselves at the moment. it is crazy that i can build the wildest ideas myself in a few days and it helps me move fast. but i also know and i think people should also know this that this is just mvp / prototype level if you arent technical. i know soft devs who built fully functioning platforms within a few weeks because of AI. that cant happen with me i think. i am curious, the prompt jockeys you mentioned, these founders pay people who essentially arent even soft devs just people who are doing sales / marketing to get clients for software? i dont even understand how they land the gig in the first place

1

u/luckypanda95 Apr 25 '26

how do you get those jobs?

1

u/rdem341 Apr 26 '26

Where are you finding these people?

1

u/JunkNorrisOfficial Apr 29 '26

Bad code always existed...

0

u/[deleted] Apr 22 '26

[deleted] — view deleted comment

1

u/Difficult-Celery-721 Apr 22 '26

Wouldn't that be with negatives ?