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!

321 Upvotes

151 comments sorted by

View all comments

204

u/MihaelK 7h ago edited 7h ago

That ship has sailed a long time ago.

If my manager wants me to ship trash, then trash I ship, and I get paid for it. I lost my passion for coding in the company where AI was getting shoved down our throats without any proper harnesses or quality control.

Now I find more passion in my personal projects where I can control how much AI I want to use and where and when myself.

25

u/TENETREVERSED 5h ago

Holy fuck dude did you literally described the exact boat I am sinking in 

7

u/Possible-Werewolf791 4h ago

And your manglers (intentional sic) are saying " well, gee, Ten, my end of the boat isn't sinking!"

3

u/TENETREVERSED 4h ago

So sorry man I am not c2 English I am just b1 What I meant was I am sinking in the boat if working for a job that forces you to use Ai to deliver and leave little to now window for an actual self growth 

5

u/thisusernameismeta 2h ago

No you're good. The person you're replying to was just building a new joke off of what you said.

Basically, the boat is sinking but the bosses don't notice because their end of the boat is still above the water.

3

u/TENETREVERSED 1h ago

Ohh shit I understand now that's really clever joke not gonna lie thank you man for being the translation layer 

43

u/SplendidPunkinButter 4h ago

There have been efficiency tools forever. Normally it’s like pulling teeth to get management to approve funding for them. But with AI everyone not only jumped on board right away, but mandated that everyone use it.

Why? Why not trust that the skilled developers would know how and when to best use the development tool?

The only answer that makes sense to me is “because AI promises to replace people.”

5

u/aTomzVins 1h ago edited 1h ago

I think it's hard for managers to comprehend the complexity of edge cases behind something that seems easy. I've been coding for decades and still often underestimate the effort involved.

I'm thinking of one ceo in particular who, in a call with non-developers before AI, was complaining how every product feature "costs a million dollars".

To be fair, that dev team was working with a horrendous legacy code base. On the flip side, the devs probably made some things more complicated than they really needed to be, and were likely to over inflate the cost of projects they weren't personally interested in.

We had this aging product and were losing customers because any little improvement was an excruciatingly slow process, and internally non-devs were coming up with all kinds of crazy hacks to make working with this system more tolerable.

I can totally see why some decision makers would want to risk some slop over the pain of sticking to a well engineered product that's becoming increasingly unprofitable.

9

u/Royal_Platform_6754 4h ago edited 4h ago

Be careful. If you're shipping trash, and everyone else is shipping trash, you become fungible and expendable.

7

u/Dude4001 4h ago

That's my fear. I'm proud of the work I ship, I certainly feel like I work hard and use a critical eye at the same time as delegating the writing to agents. But my only unique skill is my knowledge and experience with this employer's systems and products. Out there in the wild I'm just a dude with a Claude sub like everyone else

4

u/Meloetta 1h ago

What does "be careful" mean?

Sometimes I'm less doomer about it but today specifically, my project manager downloaded the codebase, vibecoded a feature, and just showed it to me fully complete with obvious flaws in even the UX/product side of it (which he should have picked up on becuase, you know, it's his product, but he outsourced the thinking to AI). When I tried to express any reluctance about showing this prototype to users he just said "I just want their feedback" and shut down any hesitance or pushback on his idea.

I think it makes you more expendable if you push back too much on the trash, tbh. At least if you ship trash, you're the trash-shipper they know and it costs money to replace you. If you start making it harder for them to ship trash because you want it to not be trash, and what they want to do is ship trash easily, then you become the friction and it's cheaper to lose you and hire someone that won't fight against their vision.

1

u/MihaelK 2h ago

you become fungible and expendable.

Not really. It's expensive and time-consuming to lay off and go through the whole hiring process again. And they still need people who somewhat understand the codebase and what's going on and the existing processes.

However, the overall quality of code has decreased because of the insane deadlines imposed because everybody is expected to use AI 24/7. It's the price to pay, and nobody cares anymore because it's not worth fighting over. At the end of the day, it's just a job.

Most companies don't know how to properly make use of AI.

1

u/vexingparse 54m ago

Not really. It's expensive and time-consuming to lay off and go through the whole hiring process again.

The hiring process is only as time-consuming as people non-fungible.

1

u/bingNbong96 1h ago

We already are, shipping trash or not

2

u/rodrigocfd 2h ago

Now I find more passion in my personal projects

Spot on.