r/webdev • • 7h ago

Desloppifying a codebase takes much longer than writing it from scratch, and the economics of firing developers

There's a big discrepancy between the information I keep seeing online, and what I actually experience. Maybe it is a skill issue, I don't know.

I'm a professional developer (former tech lead, 20+ YoE), using the paid models on max settings, and I'm preparing to release some LLM-written code as opensource.

The reality of this type of code is that for anything remotely complex it's absolute garbage, and requires enormous amounts of time to correct because it's broken in multiple ways at every abstraction level. It's the matryoshka doll of spaghetti code. Whenever you put one issue away, a new WTF is revealed.

Could have easily finished the project in less than a week, but 3 weeks in, I'm still digging out anti-patterns and bugs, and I have to watch it like a hawk, otherwise it tends to reintroduce the same problems. It's tiring.

In contrast, I have mentored both junior and senior developers across my career, and I've never felt so necessarily involved in the way any of them have been writing code. This is what everyone says, right? That you can get rid of most of the team and only keep the team lead with a few subscriptions? I don't buy that.

Yeah, it can do lots of things and it can have good output for some applications, but if your business required a developer team before, odds are you have enough complexity that current LLM technology can't handle it, and improper use will only make things worse, not better.

On the money side, if you force a senior developer to generate LLM code beyond what's feasible (either with impossible deadlines or by mandating it), you have immediately reduced that developer's value considerably, because he/she will either become extremely slow, trying to fix the slop, or will be just another vibecoder, and you'll be paying a senior salary for what a non-developer can do.

My theory is that either most managers are unaware of these tradeoffs or that the market has decided that shipping trash is the way to go (which is plausible).

Anyway, I just felt I had to put this out there, because it feels like every voice of reason has flipped in the recent months, and I'm not sure why. Hope I won't have to justify this post in future job interviews.

Cheers!

311 Upvotes

148 comments sorted by

View all comments

5

u/readeral 7h ago

I thoroughly agree. I’m 4 years into a project that I’ve largely been working on alone, and while it _seemed_ like year 3 brought a lot of iteration and quick wins, I felt freed up to think about architecture and UX, now I’m at the point of delivery (or should be…) I am painstakingly unpicking and refactoring some of those key wins that turned out to be overly complex and failed to leverage the platform I’m developing for. But more than that, I’m thoroughly blocked by some of those key things I had AI help me architect. AI might be fine with React projects or building libraries that mimic other libraries or already have full api surface areas defined, but full stack applications built on unpopular technologies? (In my case Salesforce) It’s a dog’s breakfast.

-3

u/dbc001 4h ago

This is a really good point. The available documentation and code examples reflect the community and ecosystem of the frameworks used. I'm a decent engineer with 15+ years of experience, using AI to build software in Go, Rust, Python, and Postgres, and the results are really solid. I attribute this to the dedication and skill level of the people involved in those ecosystems. I would totally expect salesforce or wordpress code generated by AI to be diluted by human-generated slop that made it into the AI's learning phase.