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!

669 Upvotes

242 comments sorted by

View all comments

389

u/MihaelK 1d ago edited 1d 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.

97

u/SplendidPunkinButter 1d ago • Bravo

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.”

21

u/aTomzVins 1d ago edited 1d 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.

7

u/brainphat 1d ago

My immediate reaction to "hard for middle managers to comprehend... edge cases" is: well, yeah. If they've never programmed much less done it/something similar for a living, they [think they] have no frame of reference. Or like a lot of people, they assume we're autistic magicians with access to hidden knowledge.

But anyone who's had to produce/change/fix anything of even moderate complexity that other people will interact with - chefs, mechanics, artists, engineers, craftsmen, etc. - knows there are always unexpected/previously unknown pain points to address, deal with, compensate for, or avoid altogether. And that the difference between amateur & expert is monumental.

Tldr: some people lack the conceptual framework to understand why programming isn't easy (much less on a super old product), quick, or perfect. And then there's upper management, many/most of whom aren't interested in hearing why they can't have expertise without paying for experts.

-1

u/aTomzVins 1d ago

Trouble is sometimes the experts are so focused on their little niche that they miss the bigger picture. Not that expertise isn't important, but with too narrowly focused expertise, there is a risk the experts lack the awareness of other competing priorities.

39

u/TENETREVERSED 1d ago

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

11

u/Possible-Werewolf791 1d ago

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

3

u/TENETREVERSED 1d 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 

9

u/thisusernameismeta 1d 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.

7

u/TENETREVERSED 1d ago

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

5

u/Djamalfna 1d ago

If my manager wants me to ship trash, then trash I ship, and I get paid for it

It's an insurance policy too. They'll need to hire developers to fix the trash.

AI is great for shipping poorly-defined non-forward-thinking Green Field projects. They look marvelous and they are built fast.

But the second you start changing things around once it hits The Real World™, you run into all sorts of data corruption and VERY expensive database migrations.

The economics have changed. There's no market for building new software anymore. The only market left is fixing bad AI software. Consultancy gigs where the people who built something that spiraled out of their grasp now need someone to fix everything.

It's going to be annoying as hell. I don't think we'll ever enjoy software development again.

1

u/AuroraFireflash 14h ago

Some of my first forays into using coding agents over the past year have been "help me clean this up and refactor it properly". Plus exploring the code base and having it help me write useful tests.

Different puzzle, different day.

1

u/Djamalfna 12h ago

Sure, but they're selling AI to project managers who 1) don't know how to do that and 2) don't care even if they did.

You need someone who understands code to do these things. They're using AI to fire people who understand code.

15

u/Royal_Platform_6754 1d ago edited 1d ago

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

22

u/Meloetta 1d 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.

10

u/Dude4001 1d 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/bingNbong96 1d ago

We already are, shipping trash or not

2

u/MihaelK 1d 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.

2

u/vexingparse 1d ago edited 14h 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 are non-fungible.

1

u/bella9977 22h ago

We are already replaceable. There's no difference.

3

u/rodrigocfd 1d ago

Now I find more passion in my personal projects

Spot on.