r/webdev • • 8h 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!

337 Upvotes

158 comments sorted by

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.

for anything remotely complex

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.

hat you can get rid of most of the team and only keep the team lead with a few subscriptions? I don't buy that.

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.

if your business required a developer team before, odds are you have enough complexity that current LLM technology can't handle it

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.

5

u/sudo-maxime 6h ago

A CRM is not a complex project, it just have a lot of features, but deep down, it's just a frontend on top of CRUD operations. If you try to do systems level programming or game dev, you will see the shortfalls. But not using AI at this point is a fools errand.

4

u/RemoDev 6h ago

I agree, it's not complex in the sense that it's not rocket science, absolutely. But it has a lot of complexity in terms of relationships, connections, features, etc. It's very very easy to make mistakes, forget pieces, etc. Having the AI that connects (and tests) everything for you is a mind-blowing change.

2

u/Gugalcrom123 4h ago

It has been done many times already, the LLM is probably trained on lots of them.

5

u/svvnguy 6h ago

No fucking way: the amount of saved time is beyond insane.

That's the thing, not every type of work benefits from those savings. I'm aware it can save time, it's just that it's not suitable for all types of code, at least this is my experience with it.

Same thing about your CRM example. I know it can do a good job in certain areas. CRM software has been done a lot, so there's plenty of training data. It will generate something that resembles what it has seen before, so it will likely be good.

5

u/RemoDev 6h ago

not every type of work benefits from those savings

Can you provide some specific scenarios where those savings aren't worth using the AI?

-1

u/svvnguy 6h ago

Whenever you have code which is business critical and it's novel (as in, not following common patterns).

4

u/RemoDev 6h ago

Sure, but I would imagine it's not a common situation, nowadays, at least in the webdev area. Almost everything has been "digested" by the AI. It's hard to imagine a scenario where you find yourself coding something that an AI has no clue about what it is.

-2

u/pavement1999 6h ago

Bro stop the coping
AI is everywhere, there’s no reason for it not to be
Adapt or die

4

u/hypercosm_dot_net 2h ago

How about debate the point instead of this nonsense.

1

u/Duatom 6h ago

So, with all the time savings, did AI affect what you charge your clients? Or do you charge the same as before AI, and for the results, not the effort?

7

u/RemoDev 6h ago edited 6h ago

I am still charging the same, because I'm freelance and my clients pay me a monthly fee, regardless of what I do (or how I do it). Apart from very rare occasions, I don't get paid by the hour, so the saved time is basically free time for myself (more sleeping hours, more relax, more going out, etc).

On the other side, my LinkedIn contacts dropped to 0 in the past 10 months. Not a single contact. I still get new clients, referred by other happy clients, but LinkedIn is basically dead for me. The AI being so easy to use is clearly affecting the webdev demand, which dropped to zero (for me). I've already tried multiple strategies, revamping the profile, adding lots of info and past works, etc. It's like my specific expertise is not even searched anymore, which may be possible.

1

u/Duatom 4h ago

So, if the word of mouth referrals slow down, what's the plan?

6

u/RemoDev 4h ago edited 4h ago

There is no specific plan, at the moment. Things are moving too fast and I still don't have a real answer.

On a side note, I recently acquired 2 new clients by simply offering my services and showing them some past projects. That happened while meeting them for completely unrelated reasons (one client is a '900 villa where I'll marry next year, the other one is a very nice restaurant where I had the chance to speak with the chef, who's also the owner).

Person-to-person talk still works amazingly well, if you're into it. Of course it takes some "guts" and social skills, it's not like waiting for a mail from LinkedIn.

1

u/Duatom 3h ago

Petty cool, yes, I agree - having selling skills is a game changer in freelancing. It's like hunting vs fishing.

1

u/AgreeableGravy 3h ago

People desperately want you to have a bad time because it does not fit their internal narrative lol.

3

u/RemoDev 3h ago

I am fully aware of the situation. It's crystal clear that things move way too fast, making it virtually impossible to find a reliable "backup plan". Plans need time, and most importantly they need to be validated (if you want them to be good).

This AI era is new for everyone. The only possible backup plan would be having a second job, or abandoning coding/development for a new job entirely.

We'll see how it goes. I do my best to stay updated and relevant. I also work a lot on social/relationships, because once you stop being just a mail address, clients give you a lot more value. On top of that, I am not "expensive", so I am still worth the money spent.

→ More replies (4)

2

u/web-dev-kev 6h ago

I charge slightly more now, and I work a decent amount less.

For clarity, I suppose I don't work less (in terms of hours I'm involved), but I do much less of the actual work. So my days have an easy 20% more free time. In the last 4 weeks since I settled on a "software factory" workflow (it's not really, but best equavalent) I've made the gym during the day every day etc.

I'm starting to see the trade-offs and promises of AI come true - but I don't really think it was possible (for me) to see the time saving prior to Opus5.5. Neon, with a dedicated orchestrator mode, has blown me away from what I can leave it to complete.

1

u/Duatom 4h ago

Has there been any pushback from the clients about AI doing things for you?

2

u/web-dev-kev 1h ago

LLMs are tools. Nothing more or less. While those tools can help with a small part of the work, they can't be responsible or accountable.

Client's done care if it's an LLM, a Senior Dev or a Junior Dev that writes the code. They don't care about code. They care about delivery, against a statement of work.

I dont see many joiners asking the client's opinion on using an electric drill over a hand-drill, or brickies using a cement mixer over a shovel + board.

We are clear on our AI policies and processes. AI doesn't do the work, I do the work, and AI is one of the tools I use.

1

u/Duatom 1h ago

I meant in the way, clients saying, hey you now have AI do your work, so it takes you less effort and time, so you should charge less now. I have not seen it yet with my clients.

2

u/web-dev-kev 39m ago

I say this while ackowledging that there are clients out there, especially at the low end of the freelancing market who like to "nickel and dime" people - but you shouldn't work with them anyway.

---

No client thinks like this.

Clients don't care about your tools. They dont care if you use photoshop, an LLM, or VScode. They care about an output that helps them meet their outcomes.

They were always paying for our expertise!

I mean, you don't go to an accountant and say that they should charge less because they have access to spreadsheets.

But I suppose a lot of that is positioning, and having clear contracts.

1

u/RemoDev 48m ago

LLMs are tools.

Yes, but this time around they're a new breed of tools, because anyone can use them, even those who are complete tech illiterates.

For the very first time they're accessible and extremely easy to use, for everyone. A secretary, the boss' grandson, his wife, etc. Also, LLM's can be autonomous. Orchestrating a little team of agents doesn't require a degree, it's faster and easier than. So LLMs aren't just a tool. They can be used by anyone, for free. That really makes a huge difference.

Client's done care if it's an LLM, a Senior Dev or a Junior Dev that writes the code. They don't care about code. They care about delivery, against a statement of work.

That's true, but clients who can easily access an LLM and code their own things will automatically stop calling a professional to do the same job. That's something that never-ever happened before. I mean, people used to call me to fix a Powerpoint or an Excel file, that was quite common because "you're the computer expert!". Today? They don't need to call anyone: they just drag the xls o ppt file over Gemini, Claude, Grok, ... And it gets fixed in seconds (again: for free).

So, even if LLMs are just used as tools, they're not something like Photoshop, Illustrator, VScode, etc. Because for the very first time, LLMs are tools that can be used by tech illiterates. Big, big, big difference.

LLMs will not replace humans, but they will drastically reduce the need to hire a professional who knows how to use a specific software, has a specific set of skills, etc.

•

u/web-dev-kev 4m ago

Ish.

Clients who can easily access an LLM and code their own things will automatically stop calling a professional to do the same job.

Hard disagree here.

This is always the way with new tools.

You forget a few things. 1) people are lazy 2) people don't want the liability.

  • DIY tools exist, I still call a plumber.
  • YouTube tutorial exist, I still take my car to the garage.
  • Speadsheets exist, i still have an accountant.
  • CMS exist, i still pay an agency
  • VPS exist, I still pay for managed hosting

Plus I remmeber working for [a famous multi-national tech brand] who fired someone for hosting an insecure version of WordPress on their intranet, which was used to update the lunch menu. (it wasn't insecure at the time, or rather, the vulnerability wasn't know). Corporates are always going to outsource - so they don't have to handly liability.

-2

u/Comfortable_Job8847 5h ago

Real. OP wants to pretend their 20 YoE gives them the same unique value still. But it just doesn’t give them the same value when AI is as good as it is. It’s a cope lmao the type of shit you can pull off with AI today is wild and if someone can’t then it’s a pure skill issue lmao

→ More replies (2)
→ More replies (2)