by basilgohar · 3w ago · 0 comments
That said, my experience tells me that enterprise and business coding has rarely ever been about stable or robust codebases. We engineers and a fraction of competent engineering managers and a vanishing small number of directors fought against business interests to ensure quality was priority when it came to code, but it was always an uphill battle and we were oftentimes disciplined for spending too much time on quality and design.
A timed cadence of release is anathema to quality code because you can't timebox it.
So, AI is just the extension of that. Do I try to ensure my agents design code I would consider to be good? Yes, absolutely! But I've fully outsourced it and I find it's also fully capable of fixing it's own mistakes. I've gone far beyond anything I individually or even with a team was ever capable of with AI assistance, so I believe I just have to apply my experience and skills into management and architecture rather than actual lines of code.
Time only will tell how this plays out.
Wallaahu aʿlam.
I can imagine things like this happening very easily mid/long term: https://www.reddit.com/r/ClaudeCode/comments/1xq2n3t/a_year_....
As of 2026, I think LLMs still lack vision, and long term, tend to build a very scattered codebase, if maintainers don't pay a lot of attention.
LLMs do have cognitive limits as well!
He took the instructions, plopped them into an agent, generated ~400 lines of change that add the alert. The problem was the entire 400 lines were custom for that X metric. Meaning if we needed to add a second alert, it’s another 400 lines. The entire thing is generic plumbing and defining resources. Any reasonable engineer would make it so that the second alert to add would be 2 or 3 line change to just define the metric and its alerting threshold (and whatever other parameters for the alert) not re-do the entire setup every time for every metric. I felt stupid having to explain that to another senior engineer.
I'd guess most code bases you could reduce by about 50% without losing anything at all.
Sure, I had to tell it to so, but it trudged through and did it fairly independently… Was especially nice as refactoring test infrastructure code isn’t always very exciting…
First impression is that it’s a net negative. It gets a lot better at working within that library, and much worse at making it work within the project as a whole.
It's also a lot cheaper to experiment with different abstractions within a codebase to really get them right, and especially to evolve them as the codebase changes.
Discussion (though topic has been flaged): https://news.ycombinator.com/item?id=50433079
Another AI-generated post complaining about AI? Or maybe the author just started writing like Claude themselves
Anyway most of reddit is dead internet and that post is just engagement farming... As is most of hn.
FWIIW Quality was always cheaper and quicker for anything but a prototype. This is just as true now. The problem was that many people were too lazy and unfocused to make quality work and those people are only too happy to agree with these comments
I noticed that too about a year or so ago. It's unbearable that made me pretty much leave the conversation. I am yet to see a codebase written by LLMs that is half decent. Also, I am unable to generate any decent codebase with LLMs without massive handholding and later refactoring. But maybe that's a skill issue and am holding the genius wrong.
I suspect many people are under AI-psychosis, conflict of interest or were simply introduced to tech very recently.
It still goes wrong when there hidden gaps that I don't spot in the plan or when the LLM decides to abandon the plan halfway through (rarer these days). But it's still not as bad as giving a single prompt and hoping for the best.
Of course, all of this only works if you know what you're doing and what you want and can/cannot accept in your codebase.
Businessmen are what ycombinator is about and there must be some of them here. Their motivation is to sell and AI is one of the sauces they can put on their business-burger to make it sell better. Why wouldn't they be enthusiasts?
This tool, like anything that has addictive engagement loops, need to be used with discipline.
I’m already hearing whispers of corpos reining in ai spend. What happens when your budget goes from 2k/mo to 200 per eng? What happens when that 200/mo cost turns into 500?
There is absolutely no way that becoming addicted to gen ai is good for the individual or the collective ecosystem.
I’m confident we are in a hype cycle and things are going to level out once we fully grasp its limitations and see it as great for knocking out boilerplate and tedious tasks
Models are getting more capable while becoming cheaper every day.
New open-source or open-weight models are being released every few months, and are very cheap on cloud providers or can be self-hosted.
Hybrid multi-agent workflows or developer/reviewer work styles have already emerged and proven to produce great code quality while driving down costs.
Not everything is about one-shotting the latest OpenAI or Anthropic model on xhigh.
I find it hard to predict what will happen to swe after that.
that would be an ideal outcome.
Today's cloud-locked models you pay a subscription to to use is akin to the old AOL internet.
2. They try to make up for it in volume. Which is why they want to wedge AI-usage into every aspect of work and life.
You don't need 1 dev spending $2000/mo if you can get 2000 people spending $1+ per month
That's interesting. I've also witnessed the reigning in of AI spend. What if the measure of a good developer becomes one who is an effective steward of tokens?
And not to mention, the interests aren't aligned: a hypothetical engineer will always want to spend the max to impress: I delivered this project solo (and all it took was $2k per day on Galactos Swarm mode v9.9).
And we must, must consider what the most enshittified era of LLM AI will look like. Will they be holding your codebase to ransom? Yeah you can have an improvement but it will cost you. What are you going to do, read the code yourself?
There's growth phases, where cost doesn't matter as much, sometimes to a seemingly unreasonable degree. And then after that, it really does.
I guess that differentiates us from "real" engineers, who can't make the bridge they're designing cheaper later, they think about it upfront. But we think about it, too.
(we've already had the $2k/month max imposed, although I was nowhere near that it seems that people who have gone fully agent-brained were using a lot more. But not necessarily for more results ...)
I don't think any of this changes with AI, the only thing is that it's possible to handle much more incidental complexity. Ultimately I expect it to land on a similar equilibrium in terms of software quality that is gated by what the users of the system will tolerate. The more things change, the more they stay the same.
It sounds like quality, and you can measure it and make decisions as it's well defined, but of course it's not quality.
I’ve been in the industry for a much shorter period than both of you; but the companies I worked for didnt really innovate anything.
It is fairly mortifying to watch them build solutions in hours or days that are designed better than the projects they were prescribing to product engineering teams to take literal months to spike, PRD, build - then maintained and governed better - with no real understanding of how it works.
Obviously lots of caveats to be made here, but fascinating to watch it play out (at least in places where infosec is robust enough to give a sales manager access to Claude Code).
Most businesses and developers shouldn't be innovating, but instead providing secure solutions to their clients. The last 30 years of "innovation" has given us countless security bugs.
But I’m not at all convinced that 30 years ago things were appropriately secure or usable.
But since AI writes everything anyway, innovations that improve “developer experience” are pointless, and all the other low hanging fruit has been taken.
Go out to a bakery, tire shop see how much they innovate. Then go one rung up to services they consume like insurance and banking. All of this chain is super conservative.
But AI doesn't care. It can, and it will, happily churn through a messy codebase.
Do you have examples of where this actually worked for you? How large was the codebase, how long did you have agents generate the mess in it?
I ask because my experience is pretty different, even with Opus 5.5 and Astra - unleashing agents on a messy, vibe coded repo only seems to increase the mess. The agents just slow down more and more as they keep generating further mess, they make more and more incorrect assumptions based on bad code previous agents left behind, and I grow more disappointed in their capabilities every day.
Actually reviewing all agent output thoroughly is the only effective way I've personally found of working with agents. In order to ensure that every line of code they add is actually there for a good reason, and not organized in a way that future agents will miss it, or misinterpret it. It's the only way I can prevent them from producing worse results as the repo grows.
Messy, fragile codebases have a greater cost of change and a greater likelihood of errors with every change. AI tokens might be cheaper than developer hours but you'll still burn more of them working on a messy code base, and still have the reputational impacts of a high error rate.
If "fast" and "cheap" are the main drivers, you'll get "bad". And I think it's a great deal easier for developers to follow the path of least resistance and allow "bad" to deliver faster and cheaper when it's AI that's reading the code.
The industrial revolution may have changed the bounds, but it didn't change the relationship.
Your one-off Python scripts are a bit like handkerchiefs. You can make a one-off hanky by cutting a square off an old sheet, fast and cheap, but it's clearly not as good as a re-usable one and you'll throw it out after using it once or twice. That sort of idea simply doesn't scale with complexity. A "good enough" pair of pants needs a lot more than just snipping out a shape. Even a one-off pair of pants, like for a costume, requires time and effort. So too with larger programs. They require more time and effort.
AI changes the bounds: it's cheaper and faster to produce software than it was, but it's not cheaper or faster to make something good than it was, not by an appreciable amount. It remains to be seen if software turns into cheap clothing advertised on buses that is barely fit for purpose... but the industry's track record isn't anything to praise, so probably, it will.
Then, too, hand-crafted assembly still beats compiled output, if you consider the only upper limit on quality. The gap in quality is much, much smaller, and the gap in time and cost is much, much bigger, though, so it's almost never worth the trade-off.
Let's say that AI-generated software eventually (or already, if you like) produces better quality software than people can produce, given the same time and cost restrictions. You can still spend more time and cost to get a better result, or accept a worse result to save time and cost. Or take more time to get a good result but more cheaply using off-peak pricing (tokens or power, take your pick). Or throw more parallel agents at the problem to get a good result faster, but at higher cost.
Pick two. Always.
Managed to get it in time to have an accurate claim that "stdlib has no total functions" prior to presenting it to someone semifamous, who doesn't like that lean has total functions
Even if that will be true (currently it's not in the long run), messy codebase will make you spend much more on tokens. So unless agents become so cheap that it won't matter, having a mess will be bad for the business in the long run.
LLMs are the next logical progression of this trend.
Also what does quality mean really? Because recent AI audits show that we humans have been generating low-quality software in terms of security.
Readability and maintainability is less of a problem for AI. One can argue that they’re potentially better for writing and running tests. Same for writing performant code.
Additionally, all those arguments about tabs vs spaces, position of the curly brace or different naming conventions have zero meaning now.
I find myself desiring simplifying a codebase just because I still need to make so many decisions and the cognitive load of that has gone up with how much I can do in parallel and still keep track of.
The promise of Agile is that you can release quality code on a regular tempo. The features may not yet be fully polished but you can drive small incremental releases with some set of correct+desired behavior and focus on improvements to critical areas and robustness in longer arcs as long as the core does the thing you really need it to do. Sometimes you have to come up with an equally incremental path towards the Big Refactor you want, setting up dominoes cycle after cycle till you can knock them down at once, but it can and has been done. You still need to prioritize quality and may have to be political about how you do it, and you still need management buy-in because you will not move as fast as a team throwing things against the wall -- but you'll also never actually hit a wall, or if you do it will be more of a speed bump, which is the selling point.
Edit this really has nothing to do with AI. This can be done 100% by hand, 100% by massively parallel agentic swarms, or anywhere in between. It's about process, planning, and the people (yes exclusively people) involved.
The agents will often propose bypassing reusage of existing code in favor of generating a new thing - there is no fear of "NIH". That's scary at the surface - human programmers like having something that looks like a reusable brick that they can dwell upon - but attractive in other respects since it lets the organizational needs express themselves directly. Working fully top-down like this is novel within software. There are plenty of unknowns to it, but it means that relatively more of what was a library that you learned and trusted but rarely verified instead becomes a requirements document, reused and iterated on project to project.
On the bright side, since every LLM is completely ignorant of your project's history and minutiae, the "mythical man month" doesn't have an AI equivalent and you can slap on more and more agents to convert time blow-outs to cost blow-outs.
It’s a good thing no business ever has to hire a new developer and get them up to speed on such things!
I kept wanting to fix underlying problems rather than applying band aids and my insistance on quality for important things like court schedules, administrative portals, accurate billing, and tracking jail release dates ultimately resulted in them handing me my hat by assigning me to the least desirable maintenance group where I burned out spectacularly.
I'm sure that this company now produces a plurality of privately owned government software.
If you don't prioritize what is important to you, it isn't going to magically build it.
It can't read your mind.
"We don't know what's in the code base" - Where is your design spec that says what should be built?
"The tests are too shallow" - How are you asking it to make tests? What are your test metrics
"more incidents" - Why don't you have tests or scans against these.
IMO- there's basically no excuse for these things anymore. If I want to be really harsh - the people that are complaining or naysaying the most are just code monkeys. Maybe they ARE hot-shit programmers that can code circles around me, but how much do they contribute to a team? Do they get out of their own head and actually write down designs? Specs? Have they documented how things are supposed to work or do they "just know" ?
Why would recovery take longer? To me, that means you didn't code-up a failure and recovery plan, which your LLM agent will help you make. To mean that means you never thought to actually stress test anything.
And pre-LLM, those were still inexcusable but at least understandable - development time was limited. Now, how is there any excuse except for you didn't think to write these things down or event prompt for them. That's on YOU now. 100%
What does this (and the rest of your comment) have to do with parent's assertion of "I think the second part of the blog post speaks to exactly how this will play out: more incidents, longer recovery times, and a poorer user experience. "
After all, if 99 out of every 100 developers are getting a fragile codebase by doing $FOO, the fact that it is possible to do $FOO safely is not a defense of $FOO.
The complaints is that we are not seeing any of those being done. And when you point it out, you go slop thrown back.
The thing about nice code, is that it can be its own design doc, what you need mostly after that is just a high level explanation. No need to write the small details twice.
> Now, how is there any excuse except for you didn't think to write these things down or event prompt for them. That's on YOU now. 100%
I can do that and hope that the LLM do a good job for them, or I can just get it done. The two are roughly equal in time taken if I’m looking to do a good work, but LLM usage is more mentally taxing.
Bingo. People notice slop because the people using the tool didn’t care or weren’t very good. There is way more AI usage going on than people realize, but you won’t notice when it’s used by someone skilled.
Meanwhile certain open source communities are renowned for their adherence to strict standards, and many are using AI to tighten up their codebases rather than balloon functionality.
Right now, management has velocity so it’s happy.
Earlier they got the code understanding as a default, and it was never something that made a difference to their metrics.
The success of the LLM Code model then relies entirely on the ability of tech debt to be cheaper to solve in the future.
My biggest issue with AI is not really technical debt, it's engineers losing sight of the system's internal working. This can make it difficult to reason about the code, fix bugs or security issues.
I just don't think we have the tools right now for engineers to accept software becoming a black box.
I have a huge backlog of reviewing code. Luckily most apps stay internal, but the desires to even host services on the net growths daily.
Last year december I had about 10 repositories with internal code bases. Now I have 100+. I constantly have to "renovate" apps that spawn CVS left and right. This was a pivot for me to develop myself to become a kindergarden teacher.
I don't have fears to be replaced, I have more problems with huge work loads... And software that was previously bought to solve a problem is now just vibe coded and copied by people that seriously don't understand the system they are developing. Well, interesting times...
I still code by hand on some personal projects and for CodeCrafters to keep myself somewhat sharp, but when it comes to paid work, my soul is devoted to Orca and running multiple Claude sessions in parallel.
My partners are happy.
* Adding too many features to existing software making it impossible to find where to do important routine tasks.
* Once-off projects that behave much like the first, by virtue of the user having to figure out which of the 15 apps do what they need.
* Usage rotting and bit rotting features. Someone builds something for a once-off and it sits there forever.
Enterprise software not being about quality was always a problem, and AI hasn't made that go away; it has made it worse. Disciplined PM and the word "no" is how great software is made (in terms of usability, I'm avoiding talking about performance), and AI rewards the opposite.
> [Mine] Enterprise software not being about quality was always a problem
I can tell you: your management skills will be copied by the AI (thanks to your input!)
God knows but money decides.
That's the patern I'm unfortunately expecting for developers. Developers on the hook for auditing the AI slop code. People hired entirely to get around to plugging the holes the AI makes. It probably will be a full time job as the AI pushes new features, UI updates, and otherwise opens new bugs.
From the outside as someone who isn't playing with AI generated code for work currently it seems like it will be the same kind of problem space as a developer inheriting a legacy codebase. In some ways it will be worse, that AI "developer" probably won't be any more useful than the legacy developer who retired for figuring out "why" something was set up a specific way. It will most likely still be around fiddling with your code though, but if your company is locked in to one model it might be easier to learn to read... at least until they change models and you need to learn the style of the new "developer" you can't fathom.
And this is precisely where you lost me. Because. No. That's a lie you tell yourself to justify the state of things. But it's as far from the truth as it could be.
Features is how you win the wind up of your business. But features do fuckall in user retention, while feature maintenance does. Tell me, name a SINGLE, one teensy tiny ass feature youtube has added to its service in the 6 months. Last year being when they began their 100% AI mandate, and the last 6 months being when AI has got its "good enough to engineer most of an app" acceptance.
I can name the few features, I know creators. But YOU are not a creator. I do not believe you can pass this challenge. And yet youtube remains the video streaming titan. The only feature most people on here can even probably name that their clients got all come from the morphe app. Custom play thumb and custom playbar colors is cool, but google would NEVER, despite having zero need for direct coding manhours anymore.
In other words.
Google is privileged enough to slow down.
And yet, you espouse the the opposite. Can't stop, won't stop! The MARKET demands it!
I don't buy it. You're mismanaged.
Using AI to generate something that had no value in first place is just silly.
But that's only valid in the industry though. Most of the software I'm using are free software, created by passionate people who used to care about quality because that's their name on the label, their reputation as an individual, their badge of honor, and also that's what makes us all feel good at the end of the day.
So, if I have few expectations from the quality of commercial software, I'm genuinely worried that open source authors would adopt AI generators too. Of course they will, I know I did. It's hard to resist. The speed gives you the fun you've lost writing good code your way.
Is code generation going to ruin the quality of open source software? I actually don't think so. I believe the benefits in terms of finding bugs (next postgres release will be the best when it lands!), conversions into better techs (finally, that old buggy python tool that's so convenient will be rewritten to rust or something), and we will have more new ideas, more people trying more things, being more ambitious etc.
Actually, it reminds me of when I transited from assembly to C, and even more from C to OCaml, for my personal projects: for a while, it was not fun! I was unhappy with the memory layout, with the GC, with the 31 bits integers, I could hear the bytes screaming at me: "come back and take care of us" and felt guilty. But, on the other hand, I was no longer typing kilometers of repetitive boilerplate, and had more time to think. Coding was no longuer typing at the keyboard, but more about thinking about designs and abstractions, and it felt both wrong to leave so much in the dark but also appealing to be able to think bigger.
And that's a bit of the same when driving an LLM: you have to spent much more time than usual designing, specifying, spelling out everything that matters; in one hand you feel that it would be faster to type the code yourself, but it's actually not true because you have an LLM to discuss the design with; whereas left to your own devices you would type and type for nights a design that you will revise several times over, rewriting most of everything several times. Now "coding" starts with a lengthy process of arguing with Claude until a good design is written down, recursively down to some good amount of details, until you can unleash the agents and voilà, you have it all done and working the next morning.
And there is some pleasure in that, too.
I'm worried for the users, for the workers, for the citizens, for myself, but not for the programmers part of us: machines will still be fun.
I realised then when I became more of a manager than a coder that then types of code quality issues engineers obsess over are practically irrelevant.
Until you find out your TLS key is 4 or that a 255 char password will bypass your auth system. Management is a necessary evil that needs to be kept in check by knowledgeable and skilled people.
AI can generate "confidence" only in very limited amounts. It can help with testing, but that becomes very expensive and hard once we leave the realm of tests that can be simply written with code, like unit tests. At some point, the only way to increase the confidence in a codebase is actual testing with actual, real user interaction. And once that's maxed out, the only way to further generate more confidence is to get it into production and let real users (not test users, production users) find the remaining bugs no tester and no AI ever managed to hit.
This is the sole reason why AI doesn't make code "disposable" - yes, it can rewrite any codebase far more quickly than any human, but that new code will start at low confidence values - AI cannot transfer the confidence that the old codebase achieved simply due to being smashed against reality in production use to the new code it writes.
This is also the reason why it still makes sense to maintain libraries, even though AI could not just theoretically, but also practically write a lot of functionality from scratch that we usually import into projects via open-source libraries: the newly written stuff doesn't come with the same confidence as the already-battle-tested library does.
The problem is that oftentimes code is the only real record of the system design and specification. That creates problems because it’s harder to replace obsolete code and modules. You can try to reverse engineer a spec from current behavior, but that always leaves uncertainty about what behavior is intentional and what behavior is accidental and changeable, and because when the system behaves in surprising ways there’s no clear source of truth on if it was supposed to do that.
What I see with LLM coding is that it makes it easy for people to “at of one” a project, and armies of one tend to produce few artifacts other than the code itself. This, ironically, makes code less disposable by eliminating any sort of thoughtful, detailed record of design intent. The code itself becomes the only record, so modifying or replacing the code needs to either replicate the original code as close as possible, warts and all, or take extra care in reverse engineering and analyzing the original code to try and understand if any simplifying changes can safely be made. Which doesn’t actually happen very often because it’s a lot of generally unenjoyable work.
Which, in turn, is why LLM codebases tend to accumulate bloat at a higher rate.
I have heard of a company trying to build a new app by using AI to generate a detailed specification from the old app's code. We'll see how it turns out but the app is talking a bunch of APIs that, like you said, have little documentation besides the code itself.