r/webdev • u/svvnguy • 19h 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!
View all comments
18
u/audioen 18h ago edited 18h ago
I agree that LLMs do not write clean code. But I disagree on the impossibility of making them write clean code, and also on the time tables. I guess it really depends a great deal on the details -- and everyone's experience is a little different.
I do not experience LLMs making me slower. On the contrary, the absolutely insane velocity of producing tons of well-documented and fully tested code is a brand new experience to me. I have had to cut on testing and documentation all my life because keeping all that going is like triple the workload, so my approach was "I hope I make no mistakes". Which is embarrassing when they happen, but it was also the only practical way I ever got stuff done fast enough: as soon as one thing was done, I had to move on to the next thing, and the first draft of any feature was good enough for production.
When LLMs shit the bed, I'm telling it: "don't do this, fix that" and then put it into the coding guidelines also. And that way, the LLM knows to avoid the bad thing the next time. You shoot problems down one at a time, and eventually you find that out that after top 10-20 are no longer a problem, the rest is pretty okay.
So maybe you read this and think I'm a shit developer. It is a plausible reading. I have been able to deliver lots of what I think as fairly intricate stuff over my time. I'm glad to let LLM take the wheel and do stuff, because not only does it design the feature, it writes it, then tests it, documents it, and the way I've arranged our tooling also allows it to deploy it. It can do everything, and all I have to do is make sure that the basic approach is sound.