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
12
u/RemoDev 7h ago edited 7h ago
28 YO fullstack freelance dev here, I'd like to share some experiences too.
Let's start defining "complex", because it's a very "gray area" kind if definition in my opinion. So far I almost completely switched from hand-made code to 99% AI-written code and I keep being pleasantly surprised by the overall codebase quality. Sure, I don't let the LLM go wild, I set some guardrails and I babysit it when needed. But the end result is almost always way better than what I would write (and it takes 1/100th of the time.
I honestly wouldn't go back to the pre-AI era for any amount of money. 6-8 months ago I was a strong non-AI-slop advocate, I can't deny that. But today? No fucking way: the amount of saved time is beyond insane. My 8-10 working hours/day is often reduced to 1 hour of "real" work. Because the AI (Gemini, in my case) is absolutely phenomenal in terms of speed, ideas and yes, even the code is pretty good in my opinion. I don't even use Claude, which is great but I really don't feel the need of it. AI Studio (Hydrogen) is a monster already.
That's not really the case in most realities, in my opinion. The fact that you had a team before the AI era doesn't mean that a team was "required". More often than not, a team is(was) made of good people, mediocre people and just "bad" people/juniors who were babysitted and dragged along the way.
I'll give you a very recent experience.
One of my biggest clients (a very famous Italian cosmetics brand) asked me to have a look at their ecommerce website + CRM/invoices integration. It turns out the website is an absolute piece of trash, coded and updated by multiple people over 10+ years of life. The CRM is a proprietary/closed paid product with an insane monthly fee, missing QoL features, bugs and lots of useless features that make it heavy and slow.
The client gave me full access to the frontend (a JS/jQuery mess) + backend (Java) and all the available dashboards, so I could have a general idea of the entire system. After spending a little time studying it, I screenshotted most of the panels and saved them for Gemini (AI Studio). I then prepared a few prompts , submitted a rough "template" of what I wanted. I also uploaded all the screenshots.
Less than a hour later, AI Studio gave me an absolutely beautiful CRM/CMS with basically zero bugs on the first run. It created everything, icons included, across 21 different pages packed with features, numbers, controls, widgets, buttons, tables, reports, you name it. I checked the code and it was very close to what I would have done, but (a lot) better of course, because a human can't compete with an AI for obvious reasons. The entire project was responsive too (not required) and most of anything else it made it almost entirely WCAG 2.0 ready (accessibility). It still needs some fine-tuning to make it 100% compliant, but most of the job was done already.
Cherry on top: it also coded a chat system to be embedded on the website via js widget, so the client can replace its current tool (Tidio chat). Gemini coded a chat that lets the user and the operator send screenshots, send cart data, connect the user to its orders, suggest a product with price and thumbnail, send a discount coupon, etc. It's just insane. And it's multi-language ready too.
This entire thing would have cost me a very long time (multiple weeks/months with full-focus on this project only). And I am sure I would have had bugs and things to fix here and there, because I am far from being a genius. I am very good at what I do, but I am not "Gemini" good.
So, at the end of the day, this is how I see the AI: modern LLMs are becoming an invaluable tool which can produce an insanely amount of good code, much much much better that what an average team would have done over the past months/years. 100% hand-written code is going to disappear, there is no way to justify it anymore.