r/webdev • • 1d 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!

679 Upvotes

243 comments sorted by

View all comments

18

u/budd222 full-stack 1d ago

I have a feeling it's a bit of a skill issue. If you take the time to plan out the feature with the llm, set up skills, give guard rails, have it research your codebase for existing patterns, etc, it generally does just fine. I don't think you're taking enough time in the planning phase. I spent 3 days planning out a new and very complex feature with Claude. It touches so many different parts of the application. It did it almost flawlessly.

3

u/Laicbeias 1d ago

I think its not so much an skill issue as it is a pattern one. Sometimes for certain complex code, that isnt well represented, it just produces something that looks good, hits the tests. But it will not cover all edge cases and if you use it daily you will run into issue after issue after issue.

It always looks like it works though. Which makes it so annoying.

Planning itself helps. But.. if something is really complex, i have not once managed to plan it out. You think you can but you cant. Its always explorative and iterative work. Because thats what complexity is. Folded pockets that you have to step into to even realize they exist.

Edit: we in webdev nvm. Skill issue

0

u/budd222 full-stack 1d ago

That hasn't really been the case for us. It was in the beginning until we refined our process over and over. I would recommend a TDD approach. But at the same time, humans don't usually catch all edge cases either, so I'm unsure how that is different?

1

u/Laicbeias 23h ago

web dev? I dont want to shit on web im one doing it for 26 years. But its largly solved for a while now and AI has massive amounts of training data. There i genuinly never had any issues with LLMs.  Its more in gamedev, statistics or system level code, when it just does not seem to hold a blueprint. The issue is you do not know what data it has and at what resolution you work. You cant do TDD in these areas since you usually work be try and error and measuring

-1

u/Absulit 1d ago • Bravo

20+ YOE. Skill issue. Yeah sure.

You know it deep inside you are lying to yourself and it's in the last sentence "almost flawlessly". You get a semi decent result and then you lie to yourself about that 10% that never works.

4

u/Boring-Leadership687 1d ago

Nothing is flawless not human code or ai code or anything else in existence

2

u/budd222 full-stack 1d ago

Skill issue using AI. They don't have 20 years experience using AI properly, clearly.