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

540 Upvotes

200 comments sorted by

View all comments

0

u/godofleet 12h ago

simple solution / tl;dr: don't deslopyify, just accept that it's all slop and get better at mitigating / preventing the really sloppy stuff...

the true-true is that we've all always had slop in our codebases doesn't matter if a human or robot wrote it, what matters is how we deal with it.

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 all boils down to planning well from the start and continuously maintaining and referencing that plan (a separate document outside of context windows that get compacted) - doing so avoids the issues at "every abstraction level" in my experience

If you start from the foundational stuff, have it review feasibility, precise/effective solutions, build reproducible samples/tests etc, and YOU chose how each layer will be built- Claude (at least that's most of my experience) can be really good at building large complex things while keeping the individual components sane and aligned with the plan.

As you build with it, at every commit (sometimes more often) have it review/compare the plan, active memory/context and product/feature progress... this largely mitigates any hallucinations/regressions. you can even prompt it to intelligently KISS and literally saying just that will often put it on a better track (but being precise and clear with it is almost always best if you're really looking to avoid slopiness)

if it does find stinky / off plan issues, plan and build the fixes closely with it to ensure it's not derailed... then repeat the review plan/context/product pattern.

it feels like every voice of reason has flipped in the recent months

because not only did the tools get WAY better in the 2026, we're using them differently (but i think more effectively) than before.