648 points · by plun9 · 3w ago · 624 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.
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'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?
(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.
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.
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.
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.
As AI has been highlighting, maybe this idea has always been an illusion.
"AI writes shallow tests" - used to be true, not true anymore since Astra and Fable 5.1 / Opus 5.5.
"AI writes overly complex ccode" - only if you let it. A "do not overengineer it" or "Pareto, 80% result with 20% of effort" go a long long way.
"Reliance on AI decreases human understanding" - human understanding does not decrease, it just moves up a level or two. The same way you do not really understand how the Linux kernel works, nor do you know how assembly really works (with probably a bunch of exceptions here given this is the HN crowd!). And then there is hardware and physics too.
Understanding code, algorithms and data structures becomes a rarer need than it used to be.
"AI moves too quickly to maintain a high quality bar" - if you are stuck with the mantra that humans must review the code today, then obviously that statement becomes true. The problem is the assumption, not the observation. The good news about AI progressing fast is that coding AND reviewing get better and better with each release.
I know it is tough to let go. But as a software engineer, the sooner you do it, the quicker you will learn to yield a much, much more powerful weapon.
No doubt code quality increased substantially, but I've been wrestling overengineering for a long time, with both GPT/Claude - they will take any small chance to write excess code/documentation/specifications, anything - they seem to love reinventing the wheel. Heck, even prompts sent to subagents are walls of text.
Explicitly requiring simple solutions works for simple problems, but for more complex ones, complexity quickly creeps in. I even ask the alternative model to challenge the complexity of solution, but doesn't work really well.
There is a perverse incentive for AI companies to train models to be verbose, as it increases the tokens consumption.
Contributors to this project must follow YAGNI, DRY, KISS, and principle of least astonishment, both from user-visible surfaces, and backend design.
Code is a liability. Do not build anything not expressly asked for.
It's not a mantra, it's the reality of the business: if I must bear responsibility of the code facing a customer, then I have to understand the code. The AI can be a wonderful tool, but people are still calling me to fight fires.
At some point technology becomes so good that it's a reasonable choice to give up understanding. And in opinion of many, that point is now for agenting coding.
"You were hacked because the well known, respectable crypto lib I bundled with my binaries actually got a bug" is fine.
"You lost one day of productivity and I can't tell you when I'll be able to propose you a fix because I shipped you a lazy copy/paste" is not.
Of course not - I use battle-tested options. Why would I pivot from battle-tested, production software that's had bugs shaken out for years to brand-new never-used-in-anger software that an LLM spat out?
It absolutely does. You lose understanding of the code, but what kind of understanding do you actually gain in turn? AFAICT it is purely a tradeoff between velocity and understanding.
We've been hearing this claim for years. It wasn't true then, it isn't true now.
You can also tell it what kinds of tests to write. (Assuming you're still interested in details of the codebase).
> "AI writes overly complex ccode" - only if you let it. A "do not overengineer it" or "Pareto, 80% result with 20% of effort" go a long long way.
Also, if it wrote a complex solution, tell it write a simple one instead.
In my experience, good AI adjusts pretty well to an existing code base, and produces roughly similar abstractions to the ones it finds.
This is a pretty severe issue I have. Give it a bad codebase, and it'll happily carry on the awful, ignore failed unit tests, omit documentation, not fixing existing problems just to, and I quote, "follow precedence".
It seems these models have been (probably for the better) trained to not rock the boat too much, to somewhat keep the work to a minimum. I think we're going to end up get stuck in de-risked "just make it work" sort of mode in the near term, with all the "less good" code that's was generated relative to newer/future models. At some point, there's going to need to be a shift to just rewrite/replace bad code, without excessive, and very often forgotten, instructions to do so.
Staying inline with the codebase is the right thing to do. It's down to you to tell it when it's time to re-engineer.
Thing is we don't write kernel code nor assembly.
It would be an issue if for every API request handler we write we'd also ship a kernel patch or some kernel level helper. That's the situation we're stuck in with agents, they produce a bunch of low level code that we have to either trust or thoroughly review, even as our goal is at a higher level.
IMHO we really need high level and proven solid frameworks that the agents can rely on, and get in exchange high level code that is succinct, simple and readable enough to be properly understood.
What happens if people give up and just push through AI generated content. You ask them to explain what is going on and the response is ask the AI. You have people pissed with massive PR's and they just get AI to analyse and accept the PR.
These are very smart people as well.
If done correctly you can say, churn out a PR in a day that would take a week and fully understand and optimise it. But you have other team members x5-x10 that in a day and no one cares until something blows up.
uhm.. what? The reason I don't understand how the kernel works is because I'm not working on it. The people working on it understand how it works. What kind of logic is this?
and that is a means to which end, again? I very much enjoyed the engineering bits of programming: having a deep mental model of how the software works, understanding the architecture, the data structures, the algorithms.
It's not the case that I am learning to wield this weapon because I want to, or because it will pay me better, but because of the competitive pressure to ship faster. Sticks, not carrots.
Or my personal favourite: "if you overengineer it, my grandma dies"
Sure I don't have a deep understanding of the Linux kernel, but some human(s) somewhere do(es). If a whole company switches to LLM development for their (closed source) product, nobody has a deep understanding of the code anymore. That could become an issue real quick, if AI doesn't do what you want anymore.
(Not saying AI is gonna go sentient, just saying taking AI for granted is a problem in and of itself)
If I take ownership of the Linux kernel and refactor it into Rust with a "thorough test" using Astra/Fable, will you use it?
- You are using it wrong! You don't know how to prompt!
- And if you do, then you are using cheap models! You aren't spending enough!
- And if you are, then you care too much! The quality doesn't matter anymore!
- And if it does, then the models will get exponentially better! The problem will be solved in a few months!
*Edit*: I use AI and find it great, but I don't think we should be dismissing any negative feedback as user error.
Those are really bad examples to quote tho. I'm not making a change in the Linux kernel nor am I releasing it or debugging it or maintaining it or getting pinged at 1am by Pagerduty because of it. Nobody is asking me how it works or what would it mean to add feature X to it.
I think the bigger point is that you still do need to understand what is up in your codebase, relying on agents 100% of the time for absolutely everything is going to be preposterous in the long term.
No, AI is still absolutely terrible at design.
It doesn't matter if they are good at implementation.
If you ask for a car and they build you an awesome surfboard, it's basically worthless.
Sure, if you're building rapid prototypes where it doesn't matter if anything is coherent or works, AI crushes it.
If it's a 99% derivative small greenfield project, AI crushes it.
For anything real, it is still a painfully awful experience to extract juice from the squeeze.
Even if AI did indeed make worse architectural decisions, that just means we have to be more on top of it in preventing them to make those decisions.
We've already managed to successfully convince everyone that you should tell AI to always produce tests for your changes. But we were ALWAYS meant to ALWAYS have test. Why did we ever not do that? Oh right, lack of time, different priorities, etc. etc. AI gives us the time back so now we're no longer allowing excuses. Weird how the standards only change with a complete lack of care and naive trust of AI?
The article also mentions that AI produces code that doesn't scale. Well? Why aren't you running a profiler and looking for places to optimize then? You were ALWAYS meant to do that. You were ALWAYS meant to ~prove~ the scalability of your architecture. This was ALWAYS a responsibility of engineers. Why are you just trusting it to do whatever instead of putting in the work doing all those things and improving? Where the hell did your responsibilities go, and why are we having a discussion on AI instead of on the fact the human is avoiding their job-description responsibilities?
I am an engineer. It is my job to produce good code. And I am proud of that, and of what that means. And right now, that means looking at AI doing a half baked job, and either baking the other half myself, or telling the AI how to.
Knock knock. That's all the shitty engineering of the last decades. It isn't dead. It's just called vibecoding now. Don't blame the AI. Unmask it, and blame shitty engineers.
And companies that enable them. If they're that shitty and the code will implode that much, unseat them. They will be paying that debt, while you soar.
I've always thought that good engineering should go smoothly by definition. You shouldn't be juggling a ton of bugs and broken develompent pipelines. The problem is justifying this in a work culture that doesn't care about quality and is stuck looking at numbers that can be immediately justified.
How can this be judged from the outside, eg in an interview?
We will just repeat the same pattern, have the latest and greatest frontier models rewrite the software just like how many desktop monoliths moved to React SPAs.
The real winners are frontier labs, we pay them to write black box software and we pay them to rewrite the software.
Something that I'm working on for my day job is essentially 32 years old though (been through a couple of big upgrades along the way) and that's how it should be, unless the underlying technology would be better off being replaced (like a COBOL or Fortran codebase).
React + Electron "won" because it was the best "bang for the buck". You get cross platform compatibility for all relevant desktop OSes out of the box thanks to Electron, and thanks to React you get access to an effectively infinite pool of developers (at least compared to Qt or other native UI frameworks).
I saw a youtube comment a few months ago that has stuck in my head, can’t remember the exact wording but it was something along the lines of “I’ve never seen an industry so excited to cuck itself out of a good wage”.
Here's the famous commentary about Oracle RDBMS codebase of 25 million lines: https://news.ycombinator.com/item?id=18442941
Every big company codebase with millions of lines devolves into a similar state. The small codebase starts with clean conceptual integrity. It then inevitably decays into incomprehensible spaghetti code as more people are added to it. Various reasons for it including the later devs caring less about the code than the initial team of devs, deadlines, avoiding refactoring because of fear about breaking things, etc.
If you don't want AI to create fragile code, you have to apply the same quality gates that would have been applied to pre-AI hand-written code to keep everything clean. Most companies don't do that.
This is actually a perfect depiction of what "bug-driven development" looks like, which is basically where the current generation of AI-only codebases are headed.
Not really? A lot of companies have comparable codebases that are kept in check.
Service-oriented architecture helps at this scale by forcibly creating boundaries.
The shift in thinking leads me to believe that the real reason HN hated contracting out the code was the fact that you had to pay the contractors for their work.
And I think the outcome will be the same in both cases: we figure out how to outsource effectively. In fact, many of the same strategies we developed then are applicable now.
My immediate question would be what kind of adversarial reviews and deterministic gates did the author write to capture the dimensions of maintainability (lack of DRY, cyclomatic complexity, unclear naming, poorly architected flows, etc) that they cared about.
Don't get me wrong. When I was speeding along at 200 PRs a day (personal projects - I would not have inflicted them on others) I pretty quickly slopped together a big ball of mud, but as I'm re-generating my estate (a) the models are a little better but (b) I'm adding a lot more rigor around verification (correctness, performance, security, operational costs and maintainability). It's not an easy problem to solve, but it feels to me like an engineering endeavor, not speculative rocket science.
I fully understand that many AI generated code bases do indeed suffer from more incidents and less maintainability, but I think it's important to distinguish between what is common and what is possible as the fix for one is improving the rigor of your verification whereas the fix for the other would be either accepting crappy code or giving up on LLMs.
> "My immediate question would be what kind of adversarial reviews and deterministic gates did the author write to capture the dimensions of maintainability (lack of DRY, cyclomatic complexity, unclear naming, poorly architected flows, etc) that they cared about."
I wrote a tool at Meta to use AI to solve all those issues at scale. I don't necessarily think it really solves the problem, although I'm unsure about the reason (perhaps that's why they got rid of me!). There's something about codebase brittle-ness that isn't captured with those well-known, easy-to-catch quality issues. It could be related to architecture, design patterns, or something else that's a little larger than even the largest LLM context windows right now.
I think code validation is an interesting problem. It's like judging "rightness", which is an inherently subjective thing in all except the trivial cases.
It would only be part of the answer but the most striking thing to me is that AI lacks the inherent sense of minimalism most humans have because creating code is so hard for them. It's so hard that a large part of our initial thinking will simply be to minimise the solution down to the least possible change from current state.
AI tools do have a little bit of this but I think it's heavily in conflict with more recent efforts to increase their persistence and the scope they can undertake and length they can work on something. All these have been optimised to hill climb coding benchmarks, but put against the benchmark of "are you sure you really need this at all? Couldn't we do it a simpler way? What if we just did it X way and then we only need to change 10 lines of code" - they are not even being tested against this metric.
Right now, they're not great at following good software engineering principles. They do the job, with verbose code, lots of duplication, abstraction leaks, useless unit tests and so on.
Is it an issue? you could think that in the long term it'll be, that AI won't be able to handle the complexity it introduced, but I'm not really worried about it. Most software isn't that big, and agents are getting better by the day. And if you really care about design, it's not too hard to instruct your agent to follow your standards.
I wish it wasn't the case and that I could justify my experience and expertise for a few more years, but the facts are there.
I have had experiences out of my technical depth where I’ve instructed an agent to do something technically nonsensical. The agent tried to do it, creating a mess. Nothing works, I get frustrated, only to realize I have a fundamental misunderstanding of something technical.
A similar thing happens when you ask for something, but the complexity for the perfect solution is 10 x the complexity of a simpler, 90% solution. And sometimes you only realize that looking at code (or feeling lots of brittleness)
You're trying to middle road it. He was talking about actually treating it as a black box, so just give the model your expectations and goals it needs to meet, not tell it a rough solution for it to apply in detail.
The expectation/goal approach in a ai edited project works better then the middle road since opus5.5 ime. Depending on your project structure, it may not be viable however without large refactorings
Other times it will one shot things near perfectly that I was expecting to just use as a reference. Demo pages for work I've done its so fast and gets good enough right out the door
Every time I've tried to use it to write something small in my compiler? :"( pain. It's the perfect intersection of looks good and covers 90% of cases fine but explodes far away because some subtle invariant is wrong. I can't always think of the invariants up front without writing the code myself
For a different perspective, the european peers in my developer network, while never outspoken against their company, like, and redistribute content that circle around the same points. Some have fixed mandates to use AI, in order to use AI, working more to keep the product stable (even outside normal work hours), or complains about the divide between management and developer's perspective on these tools.
There is also some consideration about compliance issues and liability when you're stamping commits with your name (luckily for almost all software enginners there is no malpraxis law to punish gross negligence).
For context, I work in a big tech company with virtually unlimited tokens on the best models, and a lot of tools integrated in our workflows. The culture makes it impossible to go against the wind. Even if you don't want to use AI as much as others, you won't be able to prevent them to do so.
For the last 20 years of my career, I have prided myself on keeping a clean codebase, making 'art-not-science' decisions of when and what to abstract, scope boundaries, then implementing them cleanly, specifically to be easily grok'd by other developers. But after building, from scratch, and operating an (essentially) vibe coded software solution (in typically a very engineer led/low level space) over the last 9 months, I am still able to move at super-human speeds in terms of delivering features, investigating and fixing any issues (there aren't many, certainly less than most human teams I've been in) - whether that's because of AI advances or just their innate quality of being able to tackle the dross coding tasks that always got avoided by humans in my past I'm not sure but I'll stick with it until a better approach becomes apparent!
I feel my specialist skills (coding, debugging, devops) has been devalued - I can't justify holding those as my value-add proposition any more - but new skills are replacing those (context/AI/agent engineering) in equal measure.
And you’re right, with a bit of direction and further prompting it’s quite easy to get your code in a reasonable shape. So that is what I do now: the agent does all the work but I still whip the output in shape.
Mostly my hope is that at some point soon the agents will start writing clean code. But then again, maybe clean code for a galaxy brained agent is not the most optimal code from a all-in token efficiency perspective.
Those new skills come pre-devalued already - they're simple and quick to acquire so if that's the new value prop, you can expect it to be a minimum wage value prop in just a few years.
That’s more of an artist thinking than an engineering thinking, favoriting elegance (cleanness, readability) over practicality. This was not really valuable even though you prided yourself on doing so. It’s like endlessly gushing on the design aspect of the report (the medium) instead of just providing a well-written one (the message).
Code is a medium, and being an artist about it can feel good, but the information processing mechanism (the message), is what’s important. If, after using AI, you can’t reason about the mechanism (nothing about code, files,…), you can’t essentially justify anything about what happens in the software. Meaning data given to it has a non-zero chance of giving garbage answer.
> but new skills are replacing those (context/AI/agent engineering) in equal measure
This is still highlighting surface activities, not anything pertaining to engineering.
No one is going to want "organic software" for their Node runtime, their web browser, or their OS. Some things just need to work, and work efficiently, 99.999999% of the time.
It still leaves me with a bad taste in my mouth -- the Codex desktop client's rich text editor had a fun "bug of the week" for a bit... at one point the bottom of the control/view was occluded by blank space, at another point selecting a region and scrolling "un-selected" the region.
reminds me of all the PHP spaghetti code that would float around because it was "quick and easy" -- eventually that all becomes brittle and someone has to come in and rearchitect it from scratch
you may not pay the price, but your successor will
but then again, you could say that's your employer's problem, not yours (and you'd be right)
the biggest problem is the future, not the present. Presently, we -- you, I, others -- still have the skill and experience to look inside the box and understand it, guide the LLM to make smarter decisions, etc.
not only will those skills atrophy in ourselves, but the younger generation won't even develop them in the first place. eventually you have almost no one who understands anything about how things work, they just know how to issue high level commands. It's like if eventually everyone working at CERN just knows how to push the buttons on the LHC but doesn't understand much beyond that. That's where we are heading.
But what happens when your Node runtime, OS, compilers, or even libraries start regressing to the same lower-quality level? Everything starts collapsing and falling apart. That matters.
Doesn't seem like a good strategy to me.
Using AI is one element for a pipeline that produces code.
If you architect well what you generate then it stops being slop and starts behaving like a cohesive system where code is produced automatically.
So, no, you will never be able to produce code automatically. You can and certainly should use AI as a code assistant to write code faster, but the human should always 1) make all important architectural decisions and 2) carefully review the outputted code
The human bottleneck is necessary.
the problem is that the "architect well" part is also being left to the LLMs
That's exactly the strategy that most companies have adopted by now.
Once you go 100% AI code generation, there's no going back.
Depends on use case
You definitely can use those things to improve both speed and code quality at once. But then your speedup is while quite noticeable not astronomical of course. Also the work isn't easier (apart from less typing), just different.
This raises alarm bells. It's a deeply unserious take on software development that I hope doesn't spread (but I know will). YOLO it all.
We absolutely will regret the slop AI, as it will become load-bearing (ahem) in short order. There will be critical outages and people will die.
Programming is about engaging with high level mathematical abstractions.
To the extent AI can do this high level thinking, it is going to be able to do absolutely everything else humans can. Programming (when not underestimated) is as hard as the hardest cognitive task humans can do.
And further, surely you know some very strong programmers who are very bad at art, or math, or human relationships?
Even after all of the resources it takes, it still needs human guidance. At the very least the conclusion is that it's not doing what humans are doing. They might know all the programming languages and all kinds of domains but then it needs to be told basic things to not fail at simple prompts.
Part of the problem is that this is very hard to talk about and describe. It requires a long conversation, probably better in real-time, to explain exactly how AIs are not really living up to the hype, and are actually introducing long-term risk by using them.
My code has never been stronger.
Step 3: Prompt the agent to write mutation tests to harden the suite
Step 4: Prompt the agent to write property-based tests.
Step 5: Prompt the agent for 100% code coverage
Step 6: Keep a look out for small issues with steps 2-5 above and refine a Skill or Rule to package the workflow and plug gaps in the model's current shortcomings.
Step 7: Dedicate some time to manually reviewing and thinking about interesting edge cases worth testing.
---
If you follow these steps, you will have better test coverage than 99.9% of any code an engineer ever wrote pre-AI... and it will be almost completely automated.
My team's incidents and bugs are DOWN this year while we're shipping more.
Leveraging AI effectively requires a new paradigm of interaction. The name of the game is to use techniques and strategies and guardrails that create an environment that produce good software.
I don’t think anyone has figured out the proper solution yet, I personally try to get the LLM to write code similar as I would have written it myself.
If you mean asserting against hardcoded literals, then that is the preferred testing shape in most cases. And for good reason.
If you change production code and a unit test fails, that is useful. Idk why that's silly. If you want to test more complex interaction write a UITest or integration test.
I honestly think we're all living in different worlds. There's probably large differences in capability on a per-language, per-team, per-codebase, per-engineer environment that are producing wildly different perceptions in output quality.
Type systems are not a panacea. You still have to be logical and careful about them, especially around boundaries where types are just assumptions and not logical inferences. Then you have functions that switch type, but only a subset of the input is actually valid (string -> int for a number parser). Checking for NaN is like checking for Null.
Type systems does help, but they need the same attention as code to be actually helpful.
just curious, and tempted to do the same, so far I don't like the code made by llms in dynamic languages codebases
Another of the shallow arguments thrown around, similar to "we don't check compiler output so..."
People learn and improve. LLMs don't learn, they follow instructions to a degree.
A human has to wrestle with it to work how you want, ergo humans are necessary already.
You can't fire the LLM and hire a competent one. The few available is all there is, they're all copies of the same thing.
You don't have a team. If you think 10 LLMs = a team of 10 people, then you don't know what a team is, how different skills and views make a big difference to outcomes.
LLMs can't innovate. They can't come to you with a great idea they came up with. They don't have ideas.
If none of these things are worth anything in your particular case, then that's ok. But let's not actually lose our minds and forget why people are intrinsically better than machines.
There are only a few arguments to support using LLMs, all of which are from people who a) want to spend less on salaries or b) sell you LLMs.
I do a lot of LLM coding and I catch about one of these per week. But I still look at the code after the LLM writes and reviews it. So I'm going slower than most on here, so my default assumption would be theirs are doing this more often that once/week. Whether or not it matters depends upon your project.
My favorite one from the last month was the LLM designed monster hit points in a way that everyone is healed to full between combat. No, it was not intentional, HP were just stored in a way that the structure storing it completely disappeared outside actual combat.
The belief that AI can do all that without the gates is throwing away something useful where people get to understand how the system is changing. If you keep the gates but use AI to generate all the code you either slow AI down to the speed of humans or you end up with a massive backlog of stuff to review.
This is a hard problem.
They aren't going to be creating 100 liabilities/hour?[1]
--------------------
[1] Each line of code added is a liability. We appear to have forgotten that.
Not saying it's better or worse. But it's definitely different.
In general any type system is designed to prove things. So all I'm really saying is "use strong types to prove more" which is irrefutable.
The idea of hand-typing the code that goes into those molds is going to seem foreign to us. We're going to look at monoliths and hand-written infra the same way we look back at the masonry of the cathedrals. We'll marvel. We'll find it beautiful. But we won't want to go back when pouring concrete is far easier.
Perhaps another angle could be an IKEA product designer looking at the molded plastic and lamenting it's efficiency and cost.
Disclaimer: I have no SaaS platform, it's a mobile app.
In my experience maintenance does not suffer long term with codebase size, if anything it became easier with model advances.
Most people talking about suboptimal implementation, fragility, and maintenance burden seem to theorize and extrapolate with no actual experience in implementing a large project with AI.
I can't blame them, I see the same in my day job, but the results after 500h+ on a separate project show that the concerns do not manifest in practice.
Also, sharing a link would be great if you're comfortable with the idea.
I'm still in the process of launching the app, it went live just two weeks ago. So far only 30 users, I have not yet started the ad campaign.
Basically I don't look at the codebase at all, I have long stopped using the IDE or doing code reviews.
From a product perspective, there have been no big surprises. Only once I was surprised to see a feature I thought I implemented only on a specific screen being available on a different screen too, hidden behind a drag gesture, spawning an UI component I totally did not expect.
While that seems like a loss of control, it's not too different from enterprise work with many contributors where I am also not aware of all changes.
About maintenance cost, no, I do not think so. It generally became easier over time since Opus 5.5 delivers better results than GPT-5.5 did.
From a token perspective, a large part of the resources go into translating to 30 languages and checking the screenshots for layout regressions.
Sorry, but at this point you have no idea what the maintenance looks like.
This was you two posts ago
> it went live just two weeks ago. So far only 30 users
This is you now.
I won't read further.
Come back after running your mobile app for at least 6 months in the real world with real users and then we will talk about maintenance.
Even if I ended up with a project of 50k lines, that would take multiple times the effort it took me to get this app ready for the initial release.
Realistically, I wouldn't have finished the project at all.
Let me tell you the story of the developer trying to reduce the number of tokens they use. It was a moonlit night, only the faint spinning of a Noctua fan audible and our intrepid developer...
It doesn't happen often to me. If it does, I find it often handles extra edge cases I only would have found by using the customer as a guinea pig.
Oh, for sure.
I'm assuming the GGP's system can be expressed in 5k to 1k lines of Java or Kotlin.
Where else did you think they came up with the "10x developer" thing?
(Yes I know LoC is a useless productivity measure, that's just a joke. Obviously it's number of PRs..)
how many users do you have and how long has your app been out there?
unless that number is very large, then you have no idea whether your app is fragile or not
example: I own a Polestar 4. Great car, love it. I have non-deterministic SW glitches. Other people have non-deterministic SW glitches, but they're not the same ones as me. Other people never encounter any glitches. Others have tons of glitches that I don't have. Every new car that is sold, is another edge case. We had a Tesla for years, and the SW was rock solid, great stability. Why? Because their SW has been out there for over a decade with millions of experience points, and they have a large team that are aggressive about fixing and rolling out updates almost daily. Until you get to that point, you can't judge whether your vibe-coded app is stable or not.
I did; that's why I wrote what I did
> the one hundredth 'you need a million users to judge maintainability' comment
make you should take it that there might be some truth to it then
Codebase has never been better and healthier, and any tech debt that has been accumulated after a few releases can be removed in a few prompts when you are out of product ideas and have some free tokens to spare.
(I added US mountains and trails btw: https://fescims.com )
<Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message> <Key> releases/e17a06bd04efe2b18bb38c0ae905a4d7db7ac863-42361807812-1/en/challenges.html </Key> <RequestId>7RNT6H476HS6B22H</RequestId> <HostId> YZf8hkSztCkLmtCZ01b7L4ufaujln4rD7qmakrvPWcIqTpmUwexzkW9UJWta5YJnszCS7qkdGmPFyfC9na3L6As7skPPnu2f </HostId> </Error>
This reminds me of Moore's law in the 1990s.
If you program ran slowly, or used too much RAM, you could spend six months optimising it (or removing features). Or you could just sit on it for six months and release it as it is - hardware moved on so fast that, by then, it probably ran successfully.
Your suggestion is a bit like this: don't worry, the pace of model understanding will catch up faster than the code will get disorganised.
I'm not saying I agree but it's an interesting idea.
I have seen all those when running a fairly new eval inspired by something I read in the ts-rust repo, giving a simple GPT-6 Astra code base to Opus 5.5.
Implementation accuracy was higher and token usage lower when Opus 5.5 got a Fable 5.1 built code base of the same feature set and coverage compared to the fragile GPT one. Incidentally I struggled to parse the latter but not the former.
Yes, a modern model will happily work on the most unmaintainable slop (doesn’t even need to be LLM derived slop, we have all seen bad Human written code) and that is great if you have an old code base to maintain. But if one can avoid it, even if one uses only models and never looks at the code, being efficient has value. Heck, rewrites are doable and affordable now, I have restarted projects and the gains were quickly apparent, even if we just look at model usage efficiency gains.
So you're right. Without AI the average lazy developer would write 50k implementation lines of code and 0 lines of test code, and now they have 450k lines of test code in addition to their 50k of implementation code. It might not be great test code, but I know which I'd still rather have (hint: the tests).
“It’s not a code base that warrants that size, it’s a mobile app”
“Fragility is inconsequential to me and I am blind to my users dealing with it”
i'm working on a fairly complex application and it's not even near 200k loc. but this is the second version - the first was vibe coded and was over 400k and full of bugs/issues that were slowing down development. i rewrote it and it's half the size, half the dependencies, and much faster & more robust.
is it more complex than your app? hard to say since neither of us want to disclose our identities :)
At the current pace, the very idea of maintaining software will become as relevant as the idea of trimming wicks, stropping razors - or making every frame you take with a camera count.
When the marginal cost of replacement drops to a sufficiently low level, the entire paradigm changes.
I say this as someone with 30+ years of development experience, who built everything to be maintained until the heat death of the universe. I just don't think it's a relevant question in this brave new world.
Digital cameras are another interesting one. Since capturing images is so cheap we just snap a bunch of frames without a lot of thought towards composing them carefully, with a side effect that we get an overwhelming amount of mediocre frames and a few good ones, but we have to sift through.
I’m still not convinced I want to make this tradeoff in programming. But I work in scientific computing where I think it’s (still) really important to understand what modeling assumptions you are making through code
My futzing around is now at a higher level and involves enlisting the help of agents to dig through the code and logs and other sources to help solves problems.
Right now I am working an effort to reduce the amount of "build friction" across our code base. Even scoping this out would have taken a non-trivial amount of time and fixing it would never have been funded. With the help of AI tools, I can now attach this problem and make the lives of hundreds of engineers better.
it's not gone, it's literally a prompt away. I run "tech debt" loops all the time, ask it to simplify the code and architecture, remove left over code from previous refactors.
the quality of the resulting code is better than ever
Measured by?
A good lithmus test I've noticed is "I want to do this thing the system should do", and if claude identifies a major refactor - well that's a sign the code needs a human touch first.
i had to argue with someone, more than once, that "cursor is wrong about this assumption because i originally wrote this" because they just accepted whatever model they used as truth.
> For instance, I saw one of the best programmers on my team try to merge code that used javascript events for mouseover CSS effects rather than using the :hover selector, which is a totally unscalable way of writing mouseovers.
Alright, can static analysis find the mouseover JS events and fail a linter as a result? Maybe in the past this would have been overkill or would have triggered very rarely if ever, but in an AI-written codebase, this helps catch it and point the agent harness to rewrite it.
1 - Done does not mean DONE. 2 - The code gets over-engineered, and you will not know about it. Unless you have a large team reviewing the AI's work. Which defeats the whole purpose. 3 - AI reviewing the code can over-review. It chases unrealistic edge cases and kills your project. 4 - Maintainability is not native to AI. It builds code nobody can maintain later.
I built a machine around the agents that takes care of these issues, and I can safely say that vibe coding made me a better builder of solutions (not a better coder).
Ya know, respect. I don't feel like a lot of people who went the vibe coding route have had that moment.
The bill for the API usage was _hundreds_ of times higher than the subscriptions. Companies with a few hundred engineers, but without sky-high margins, simply cannot afford not to understand their codebases.
We'll have to wait and see how many companys get hurt by overuse of AI coding, the one I work at included.
I also don't think this is the right way. We are giving away practices and lesson learned over decades, in just over 6 months without fully understanding long term implications both technical and non-technical. And that is based on very optimistic bet that models will be able to handle all those potential issues that we might be concerned about in present. All the arguments/counter-arguments are mostly speculative, and I think only time will tell. My speculation is that this all BS will at some point self-correct at some point, it wont be like pre-LLM but it wont be crazy vibe-code don't look at code (or pretend we review code) either.
Code quality is no longer a concern to almost anyone
If that's true (and it is not), it's only because almost anyone is "making" code now. That they don't understand the importance of code quality means nothing; it remains important without them. And professionals certainly don't need to pay attention to these inane oversimplifying takes of "what software is now".Well, one engineer decided to take a look at the code and found one file was 20,000 lines long. It was an awful mess with too much going on. So much for "AI governance". I knew this was going to happen but these guys don't want to hear anything about being cautious with AI. The solution is always more AI.
I am looking for a new job.
For now there's still human reviews but soon it will be all automated. I estimate that the AI review (latest Opus) is around 15% to 20% accurate
If that's the worst you can say, then it's done a pretty good job.
"An agent wrote the code" is not an excuse for failing to understand how the system works and fits together.
If you do multiple review passes you almost always end up picking up numerous issues in the first two passes, sometimes quite crucial.
We all may end up ignoring the source code most of the time. But for a few years at least, we won't be able to ignore the quality of it, because nobody knows how to use "AI" in a way that has stable high quality over years of changes.
Being able to speak to what’s possible or not will definitely be a valuable skill.
Hopefully when the cost of tokens rises and your company can no longer afford to pay for it at the level needed that someone will be willing to keep it running.
I remember the "software craftsmanship" movement of the early and late oughts. Refactoring patterns, clean architecture and all that--nobody outside a tiny group gave a single sh*t about it.
I'm not saying this in a sneering tone. I'm incredibly sad about this state of things. But the industry as I experienced it very rarely placed any value on quality code. So when I see ai writing code I don't see anything of value being lost. I suspect that a lot of high quality code will still get written by people who care and direct their agents to do so. Similar to how a carpenter can produce wonderful work with power tools but a regular joe will produce awkward wooden slop.
Also: syntax is for humans, might as well use LISP AST syntax for all future languages since no human is going to read it anyway.
I thought it was a pretty insightful point coming from a 16 year old boy (being a former 16 year old boy myself).
I think this is the place where a lot of "coders" are now, they only cared about the manual part of the job which is gone.
What's different in software is that developing software always kinda was building and designing factories spitting out copies at the end (while actually creating and distributing the copy increasingly being the easy part). So in this profession you have a split between people who were actually only in for the manual part of building the factory while you have others for whom the manual part always was just a means to an end. With the purely manual part gone there is still a shitton of work left which is in the end a lot more complex and challenging than mere button pushing but it's different work.
But they do still need the job shop machinist which fill essentially the same niche using slightly different tools (mills and lathes rather than forges and hammers). Is your 16 year old implying that LLMs are the programming equivalent of a mill/lathe in metal working?
Another note: some software has a history of multiple decades. In fact, I happen to work on such software. IMO it would be irresponsible to turn the code into an incomprehensible slop fest just because some AI boosters want me to believe that "coding is solved" or "software is dead".
It can only simulate the written outcomes of intuition in its training set.
For sure, some of those written outcomes are a good guide to reaching the outcomes of intuition.
But the likely uncloseable gap is that some intution is unspoken, literally felt by the brain's default mode network and by parts of the prefrontal cortex.
LLMs basically never shower, do the washing up, kick their foot in the dirt while sitting on a park bench with a coffee: the domain of the default mode network. And they never sit frustrated looking at things, guided by their long experience, with the itchy brain feeling that there is a solution before they can even say the words.
A lot of this stuff happens to us deep down, way outside of the reach of words. And as a result, some aspects of intuitions are just never described in words.
I'm sure the training data of LLMs contains a lot of those things, though.
(as it would apply to a human software engineer also)
Compute > Insight. Every time.
We can keep searching for essential human characteristics that humans have and AI lacks, but every attempt increasingly resembles an ego-preserving negotiation with the inevitable march. It's reminiscent of the God of the Gaps[2], but for human exceptionalism. As AI competency encroaches on more and more of human ability, we'll retreat into smaller and smaller gaps - foxholes of inimitablity.
As long as human value is justified by ability, quality, or characteristic, this problem will endure. The one escape hatch is the classical liberal idea that human value isn't tied to anything, that, by virtue of being human, people have universal, inalienable worth.
We should stop the project to attempting to substantiate human value by other means.
Now it's gone. Spec-driven dev isn't the answer either, some of the UX bugs areas are simply not something that ever existed in the regression suite.
Then in that CLI I have a thin front end that just parses args and calls the backend that does the work.
I test around this backend. As a kind of behavioral test.
I rarely mock, and only at some external API boundaries. I may enumerate those (they’re only 2-3 things) the tests call my code via the backend, and I can verify more easily visually the test measures something meaningful. Moreover they map cleanly to the business logic of this module.
If testing becomes brittle I can converse with my agent and show it a bug via the CLI. It can repro more easily, and with a cleaner mapping between the CLI and my tests, I can confirm it tested what I expected.
Writing modular, verifiable code was always an engineering tenet - but the use of AI in codebases that ignored those foundations ends up having several gaps.
This was somewhat the case for the proofs produced of the math problems, that leading mathematicians found them quite unreadable and abstruse; and it's been my experience when programming.
I guess there is a kind of a happy middle ground where I can more or less follow what it is doing, still having an abstract overview, and if needed, could go in the weeds to inspect something.
But people tend to opt for easy and fast, and companies will cater to that market. So who knows what's to come
difficult to comprehend : recondite - the abstruse calculations of mathematicians - abstruse concepts/ideas/theories
Thank you, I've never encountered that word before. :)
Tell me again where there is NO widespread automatic consensus about how imperative is that one HAVE TO use these things from a sandbox?
The last time this happened was when the whole world agreed that it is alright to take a device with multiple cameras, mics AND 24x7 internet connectivity to our most private places...
Consumers benefit all round. Those who can afford to do so can buy the high quality handcrafted product; the majority who can't get cheap access to acceptable-quality furniture.
This is pure speculation but I wonder whether software will gradually evolve in this way with the availability of AI. For many basic tasks, consumers will be able to basically write their own software using some AI tool; it may not be high quality but at least it will be cheap and fast to produce and it will greatly reduce the barrier to access for the average computer user to do what they want to do on their machine. Meanwhile, a much smaller niche market for high-quality tools that have been at least partly handcrafted by experts to fill some special need where performance or a quality experience are crucial will continue to thrive. Either way, in this scenario, I would imagine the importance and prominence of SaaS will slowly decline.
This felt very out of touch for the reason you brought forth: hand-crafted products very often become more valuable in an industry where production is done at-scale. (Provided the hand-crafted product is of high quality.)
We’ve discovered a way to take what someone asks for and generate a lot of relevant code at a significantly lower cost than what it would take to contract out. Maybe for small requests this could be fine for users in the future, but inevitably people will prefer carefully-crafted codebases that provide robust experiences or high reliability.
The real difference is that a carpenter actually talks to you when you order your furniture, and builds something custom to your specification. The quality of the finished cupboard wouldn't improve if your craftsman only used hand tools.
I suspect something similar will happen for software: For some applications, vibe code is good enough. For others, a human will do software design (possibly with machine assistance), hand-writes some parts, delegates other parts to an AI but still reads it.
Purely-human-written code will be akin to furniture built using only hand tools: a piece of art, or maybe product of a hobby or a religious ceremony rather than a practical necessity or a practical advantage.
Assuming you mean an average software developer, that's still an incredibly low bar.
Todays companies are full with average software devs but they take 10x more hours to implement something, then miss 3x more edge cases while costing way more money.
So yes... and?
That the ai is better means nothing. It is still pretty bad.
Whatever issues you have with AI generated code can definitely be resolved if you implement checks that provide a feedback loop.
It works differently than the additive, bottom-up way we used to write code. You will get the hang of it.
LLM code is verbose, and often quite inflexible, but that rigidity and verbosity tends to come from the AI being very thorough about ensuring the code does exactly what’s expected, and it seems to leave much less room for error as a result. It acts as a really good forcing function for specificity on requirements, and for thinking through "what if" scenarios.
So terse and flexible code can't be made to do exactly what is expected?
100% this is my experience; I frequently am telling the agent 1) "this way is simpler", or 2) "why are you doing X instead of Y, which is simpler"
You still need systems in place to ensure quality.
That in turn requires you describe what 'quality' means to you.
Then you need to design your AI-driven token factory in a way where it converges on something resembling that definition.
Otherwise, yeah. You're gonna have a bad time, until the models get significantly better.
But if you can figure that out, you can build some INCREDIBLE software. (Just look at Rex!)
The moral of the story is try to have the final name of the product from the beginning. It took me a whole evening to resurrect upon renaming and it's still not fully cleaned up.
How many devs read the compiler output or care how understandable it actually is?
I know there are some (I am one of them), but TBH, how often does that happen?
The point I'm trying to make: LLMs have made actual code basically irrelevant in day-to-day dev work. Whether it is readable / understandable to humans matters very little.
The fact that it does what it should is what matters, and in that space, brand new techniques must be developed beyond the traditional ones to verify with a high degree of certainty that the code does what it's supposed to.
And yes, I am aware the the folks working on testing methodologies haven't been asleep at the wheel for the past 50 years.
What I'm saying is: with LLMs, it's all that remains: writing proper specs (assuming you know what you program should actually do), and proving the code produced by the LLM meets those specs.
The technical solutions we have for both these things are not yet, from a software engineering perspective, ready IMO.
AI is great at following patterns and loves to write tests. Start with good patterns that most teams would not have the discipline to write by hand and it is possible to get very robust code.
Try:
- Clearly identify the invariant being tested focus on exercising the invariant
- High volume, low signal tests increase CI and build times
- Avoid low signal tests; raw coverage is not the objective
- Avoid write-then-read tests when risk is low (no transformations, no business logic in application code on write or read path)
- Use explicit test execution [Explicit] when test code is used to exercise code in local environments only and should not run in CI
What's useful is to have a second agent that reviews the tests impartially and trim the ones that are low signal.You also need to understand why agents write high volume, low value tests: because other ways of exercising the code (e.g. Playwright, E2E, curl) are even more expensive and not as consistent. So you have some recourse here by: 1) giving agents another way to exercise the code (e.g. provide it a REPL to your code) or 2) tell it to write some unit tests as explicit only (does not run in CI).
For our tests, we also added a small helper library[0] that cleans up tests to make them easier to read (smaller context for both humans and agents) as well as to write. Agents write average code by default. Your job as an engineer in this age is to help agents write good code.
An AI is arguably capable of refactoring a ball of mud into something better, or not writing one in the first place, if we could show them how. I suggest we don’t know how to, other than slogans like “clean code”?
I had to define the ideal test in my project and from then on the agents wrote exactly the tests that were needed.
And this doesn't stop at tests, but extends to all aspects of the codebase. How should code be structured, what not to do, how should the process go, tests before code or not, etc.
Over a year I arrived at a setup where I only once every few weeks have to change how an agent should do something specific. My last change was regarding how it should decide on naming buttons when creating new features. There is now a standard, a list of preferred content for specific situations and a rule on how to decide (incl. some leeway).
When told nothing, I feel the agents take it as "its fine any way, may as well be lazy".
If you don't pay attention to the code, yeah, it will write code that you don't like. If you review the changes, you can prompt it to make changes that result in good code. I call that "my code".
The typing was never the meaningful part of programming.
Eventually unsupervised code leaks because you stop reading the 3rd (+1200, -350) pull request
You have to decide if you're going to vibe code or not. If you are going to keep humans in the loop, the chunks need to be manageable. You can have shallow changes to lots of files, or you can have deep changes to few files, but you can't have both.
The AI will do this for you. It'll even break down stories into manageable chunks for you. You just have to ask.
Among myself and all the colleagues that I work with, I am the only person remaining who reviews every line of code to make sure I at least understand what the written code is doing. And when I review AI-written code in this manner, I almost always find flaws-- overchecking of weird edge cases, underchecking of conditions that might lead to ambiguity, importing a whole new library to handle one special case that happens <1% of the time, etc.
This is disappointing to me because just a few years ago, at my last job, thorough code reviews were the norm. And it resulted in good, maintainable code.
Are you really not capable of writing a test or a linter that shows you the patterns you care about?
Imagine you had a team of 100 developers and you needed to enforce controls over the software and how it operates. Would you do that with trust? Could that survive an audit?
Yes, if you just throw prompts at AI and assume natural language is enough to properly influence how the code is built, the code base will be a fragile ball of mud.
If you consider your new job to be deterministically constraining the output and creating visibility for all items that really matter, then this doesn’t have to be the case.
So many of these complaints suggest that people are accepting that the first attempt by a model is the best it can possibly do. Yes, it takes effort to guide and correct the model's output, but not that much effort.
You may not want that to be your job, which I understand. And AI isn't great at everything, and has gaps, etc. But if you are going to give AI a fair shot, don't hamstring it by using it poorly and then claiming your bad results are representative.
There was a time when all tables were made by hand. Carpentry was often seen as an art form. Every table was unique and carried something special from its creator. Then the industrialisation came; factories started making tables. The first ones had issues, but over time, they started producing high-quality tables at high volume. Today, "hand-made " still has a special place in our hearts, but it is usually seen as a niche/luxury product. When a company wants to buy tables or desks for an office, they rarely go to a carpenter to get them made.
I am sure master carpenters found (and still find) factory-made tables inferior, and perhaps they are, if we are looking for a special human touch. Unfortunately, the free economy demands cheaper, factory-made tables, so they are very popular.
Software development is just in the middle of this transition, and it is painful. It will get better soon, but the bitter taste will linger. There will definitely be niche development tasks where we ask master developers to get the job done manually. Software for flight control systems comes to mind, where every low-level instruction matters.
What do we do now? Given that the trend and demand are obvious, we can focus our efforts on making the factories better. If I may reference a couple of points from the post:
AI makes shallow tests:
The opportunity here is improving test-writing skills (AI skills) to ensure tests written have enough depth.
AI writes overly complex code
I found that TDD helps greatly here. Write failing tests first, then write the minimum amount of code to make them pass.
For me, these are how we can make the factory better. I don't think the two organisations mentioned that expect code to be developed 80 or 100%, respectively, would mind developers spending some of their time improving the team's shared skills library.
Perhaps it helps to see this not as "stopping writing code", but as "going one more level up in the abstraction hierarchy". It's similar to going from assembly to higher-level languages, although I appreciate it is not a perfect analogy.
Sorry, but that transition already happened. A long time ago. It was when compilers replaced hand-written assembly.
What we're talking about would be more like the design phase, where someone prepares the molds and tooling which will be used by the factories to make the tables. Even that has already been partially automated, with CAD/CAM on physical manufacturing, and IDEs in software development.
The current usage of LLMs for software development, has AFAIK no analogue on the physical manufacturing side, so we can't reason by analogy there.
And nobody ever hired an army of programmers to write assembly. These improvements in capability have always resulted in more demand for programmers, not less, via Jevon's paradox. Is this also true with AI? Remains to be seen, but it's arguable we had too many bad programmers before AI since they were shoved through React bootcamps, and most tech products are useless, and some culling is overdue.
My answer so far is to dedicate a substantial token budget to continual polishing, refactoring, debugging, cleanup and explanation. Some practical steps:
1. output has to be perfect. Anything that looks even slightly off get's logged and a session is started to investigate, this usually leads to a bunch of other issues.
2. Ask the AI if the code works the way you think it does -- you should still have some model of how the software works in your head
3. Ask for documentation and explanation around interfaces and make sure you understand the interfaces. It's ok if something's a black box, as long as you have a good understanding of what goes in and what goes out.
4. continually ask for performance improvements and assessments.
5. In addition to agents and readmes, maintain an ADR so all decisions and past constraints are readily available to be enforced on new code.
6. Put in as many hard rules as you can about things that need your explicit approval.
Fundamentally, my current job as a "AI-native builder" (cringe) is way more similar to my previous position as EM than anything resembling an IC.
What matters more is the higher level architecture, and the testing strategy, backed up by tooling like fuzzers and maybe even formal proofs.
LLMs open up all sorts of tooling that wasn't feasible to use for most projects.
> Shopping for clothes from a website always results in worse fits than shopping in person.
Knowing how one brand's clothes fit means that this isn't always true, and you just adjust depending on the brand. I don't understand what is trying to be conveyed here.
AI is a force multiplier in whatever you apply it to. Most software companies output binaries with new features, whether it runs locally or on a server. Binaries with new features. None of the business owners give a shit about what is in the binary. It may be extremely fragile and only work for one type of user, but if they only have one type of user nobody cares. Most software doesn't keep evolving forever and at some point gets rewritten as a 2.0 version or whatever, so the quality was never as important.
It doesn't have to be that way. You can use AI just as effectively to produce quality source code as you can slop binaries. It depends on the business priorities and what is actually important.
The caveat is if you are the one engineer on the team trying to use AI the right way to produce quality source instead of binaries as fast as possible, you might get left behind or let go since your work no longer aligns with the business.
I feel that a lot of folks that have worked at FAANG or tech first orgs overestimate how good the average company repo is.
1 year ago, I'd 100% be on your side, but we can't ignore the progress that models have made over the last 10 months.
For this agent it is told to think of it as a graph and each “if” or function call, import etc as a new node.
They generate pretty detailed graphs this way. Seems to really help them with the “depth” issue.
I say that as a frustrated slop fighter.
Every once in a while I go "manual". It's restful and entertaining to write syntax by hand. It has this peculiar dare I say autistic delight, sorting the colored blocks and getting a little kick out of it. I understand the nostalgia but the progress is breathtakingly slow - as expected. You cannot do 6502 assembly by hand and expect to be fast in any meaningful sense of the word.
I usually juggle four, five active projects at a time and make days worth of manual progress on them in a morning. Support calls and colleagues questions interject occasionally. It's much more work than before, but I like it because dev work is super boring and now it's getting more interesting.
Like many people try to say AI is raising the bar. What we call normal software now will be childrens' toys tomorrow. The world expects ambitious projects, stuff that is hard and stands out.
Is this not incentive enough to use AI more thoughtfully?
This would be at the level of helper functions < 10 lines of code.
That part was obvious, no need to explain it.
Is there no push back from senior management, or have they all been bought off?
I’m confused how to reconcile this with the conclusions presented. Is a fragile code base therefore inevitable? Perhaps the point is that expectations should/will eventually change?
What do you do? You provide guidance, support and tooling so they can write better tests and code. You supervise and help them meet the standard. It is the same with AI agents (including the challenge of how to carry that knowledge around and transfer it). You are responsible.
You are also responsible for the understanding part: know what is being worked on, glance at changes, inspect the outcomes, cross-check specifications, tests, product requirements. The 'moving too quickly' idea is the other side of the same coin; it is your responsibility to keep track of things and decide what's worth intervention. The exact same thing happens in a project where you have ten developers (or 200) working together — you cannot possibly read all of the code they write.
Seeing all of these as downsides is a choice.
When I do the same with an LLM, I'm just repeating the same guidance over and over again out of frustration just to get something done.
Comparing an LLM to a junior engineer is frankly a disgrace.
For that you need to actually read the code and it's somehow in odds with the whole vibecode idea.
Plus it won't give you the 10x boost the management expects. Only not looking at the code will.
What does "better" even mean? Better at following instructions, or better at fixing everything on their own? If it's the latter, it's not progress, it's the model's behavior matching your preference.
Coding itself is deterministic, but code quality and the product aren't. A better model per se might solve the former, but there's no single better solution for code quality or product because it requires judgment per case, and that judgment depends on context that is unwritten or lives in people's heads.
Code quality matters. A coding agent is faster than a human at pattern matching, but a bad codebase is going to slow it down or, worse, point it in the wrong direction.
So a better model won't be enough. We need better processes.
>Coding itself is deterministic, but code quality and the product aren't.
Unless you have a definition you can articulate well enough to enforce on pre-commit hooks and at compile time.I agree quality matters, but the writing is on the wall. It's only a matter of time before the frontier labs are training ultra-long-horizon software engineering tasks using agent teams in RL training loops that help the models essentially figure out what they're currently missing. It's going to happen. I think human judgement is needed today, but not in the limit. It's learnable. The only thing is figuring out the training loop to teach it. That's all.
When you're building a structure of any type, you need to get the foundation right. You have to use qualified materials that have tested and predictable characteristics. You can't just use any random truckload of dirt as filler for concrete, for example.
AI generated code is random fill, and we don't even have a good way to screen it yet, to get out the old tires, construction debris, Jimmy Hoffa's body, etc. You can't have a person judging every cubic inch of fill for quality, it's not scalable, but that's what we're collectively trying to do with AI code.
All these issues were already an issue with humans. No one did TDD "the right way". No one did BDD "the right way".
I find it amazing that fancy markov chain machines had to start generating code for us to even consider caring about automated testing and automated code quality analysis using proper code metrics.
If you feed back everything you had to fix with abominable intelligence generated code into your memory files, you'll end up with a pretty good prompt baseline that will steer the given model towards proper code generation.
Either that or I'll end up a dinosaur in a world of primates.
Every six months, the number of people capable of writing code better than AI is halved! :D
Kinda like the struggles with getting the context window bigger than 2Mtok... for the past 3 years...
It would be nice if the listed symptoms (which have their own issues, e.g. "AI writes overly complex code" - overly complex for who?) were backed up with numbers or at least case studies, rather than stating "this is how you can recognize that X is happening", then stating "X is happening" in the title.
Not just complex code. AI tends to add new code. After all, AI predicts what code to write, so it happily spew out all kinds of code that do not make sense but definitely look like belonging to the code base.
I suspect that sooner or later we will run into some outage that AI can't fix because there's just so many inter-dependencies that fixing an issue turns into an infinite game of Whac-A-Mole. The question is, is such scenario going to happen in a frontier lab first or in a random company. If it's the latter, at least we can blame that the company didn't use AI well.
If the article is correct: AI generated codebase creates incidents that are more severe and take longer to recover from, companies will dial it back after they get burned bad enough.
If it's a skill issue: Maybe some coders can push the frontier out even a lot more than others before such things happen. Then the problem is the human in front of the screen.
In my cases AI usage generated better and more stable codebases, without exception.
I think at the end of the day people want to believe they're writing programs proofs but outside of very specific use cases most people are implementing good enough until shit hits the fan.
AI is killing people. It is time for an extra-tax against AI using companies. They can not destroy jobs, drive up RAM prices willy-nilly and think the rest of society should pay for that.
"I can only speculate as to the reasons why I was laid off from Meta in May"
Well - you already worked for Evil there. People made these companies stronger and now their jobs are killed by AI. That's the double irony.
I remember years ago people were happy with working at Google, for instance. That has now totally disappear in the AI slop vibe age. It's quite fascinating to see, actually.
Also, I am not sure I agree entirely with the article as such. Personally I don't use AI, my code base will remain AI free (I think), but if you look at the ruby programming language, claude is now the main designer. Now I think this change was also incredibly stupid by the ruby core team, but objectively one could reason that it led to elimination of some bugs. If true then this is, I would think, a positive change aka an improvement. I still think the total net cost is worse (no real human wants to "interact" with AI slop spam programmers), but one can not say that AI use per se leads to a decaying code base. In a way when ruby transitioned into embracing claude as the new overlord, the decision making is still largely done by a human, e. g. what is changed and how, even if they AI slop spam things out. So AI is mostly a tool in this regard - granted, a horrible one, but you can not say that a fork has only negative use cases if it is just a fork. AI just is more flexible. It is the any-tool (anything-tool).
> 1. AI writes shallow tests
I've seen test coverage go up a lot for some companies I have insight in. Some test may be shallow, but all in all there are a lot more tests and in general better test. TDD is on for LLMs in all those projects.
Try having your LLMs critique/improve your test code by telling it to: look for bad tests, look for ways to speed up the tests, make the test code more accessible to humans, look for test gaps (coverage tool helps here), etc. I've only seen test code in general do better, but it takes a bit of time writing CLAUDE.md instructions to have it your way.
Also: Architecture tests. I have soooo many of these now, because they restrict architecture mistakes LLMs (and humans) can make. I even have architecture tests for my test code!
> 2. AI writes overly complex code
I have a clear definition of "complicated code", and that it inspired by functional programming. Classes are more complex than records and functions; result types (usually some kind of sum-types) are easier than exceptions. I instruct my LLM to use the least complex construct to fix something. I tell it to do it in functional programming style unless it becomes awkward.
So mocking/stubbing/etc is forbidden in favor of fakes. So dependency injection frameworks are forbidden in favor of just passing the dependencies as parameters.
Since it's a SaaS it is usually doing something that has already been done. I've supervised it a lot more some time back, and when cleaning up the code. Now the example is clean and clear, the LLM often follows suit properly in my opinion.
> 3. Reliance on AI decreases human understanding
I do not have to understand everything, all at the same time. But the architecure is very clear and many rules are set in the LLM and human instructions that have been developed along the project. Documentation is MUCH more up to date since using LLMs in the project I saw. Even if only because though documentation we instruct the LLM, AND the LLMs tell you when docs do not match your envisioned approach or some existing piece of code.
> 4. AI moves too quickly to maintain a high quality bar
This is a business decision. Big projects (with many devs collaborating) had this problem before LLMs. Learn from how they've been doing it... You simply have something very akin to a much bigger team. It could be that you just like wokring in small teams: that's alright.
From my experience, the biggest problem is overcomplicated, over-paranoid and redundant code, especially for large code changes, like a whole feature built end-to-end by agents. If I step back, it’s like code written in a large company where dozens of engineers are writing code but no one engineer can have all the context or the code base in their heads. Which describes agents pretty well, really.
And so you get tons of near-duplicate abstractions, and dozens of guards for conditions that would never happen (but they don’t know that, and they won’t voluntarily stipulate reasonable invariants), and Rube Goldberg contraptions to fetch some data or use some abstraction when there is a convenient alternative a few source files away. In fact I see the opposite of DRY that TFA observes.
But this is also the reason why developers lack understanding… it’s just too painful to review that code. Especially if you get mountains of it, because every line of code that surprises you entails a lengthy back-and-forth with the agent, and it usually has a good reason for it, just that it doesn’t matter. And so Im not surprised that most engineers just blind ship it.
And this compounds in a big company because the next PRs that agents pile on are influenced by these changes, and so they have to handle extra edge cases, and deal with competing or conflicting abstractions, and follow similar patterns because they simply don’t know better.
On the other hand, I can also see how this won’t matter for anything but critical infrastructure code. As I said, this looks like code at any other big company and none of them have collapsed because, in addition to the always under-appreciated customer indifference, they rely on other built in processes (like customer service and security pen testers, say) to deal with the inevitable issues. And these processes are also eminently outsourceable to AI.
I do think these issues can be prevented by more sophisticated usage of agents (like adversarial review by other models) and tooling, but people are still figuring that out.
If you can’t measure the problem, is it really a problem? A lot of assertions about code fragility seem to merge in with bike shedding arguments about style and what one person sees as readable.
But in the end if you have 100k of slop but we can know with high levels of certainty it does what it needs to - does it matter?
" I generated at least 90% of my code using AI in my last few months there, which was the minimum for a decent rating"
"I've fully made the switch to generating 100% of my code using AI because that's the expectation today."
This is really sad? Am I the only one who feels so????
We of course know that human code often isn't that good anyhow...and the people who wrote it similarly are not likely to see why AI code isn't great - after all they judged what they did before as being ok.
Nowadays if you don't use enough AI you get told off by your boss. If it's so great why the pressure? Why is any objection or even minute qualification rolled over? Why is it scary to point out the slightest problem in a meeting?
It's all cast as a race and everyone is scared to loose the race whether it's companies or individuals so everything is to the max and consequences be damned. How wonderful for the AI companies!
The old adage of software development still stands "Computers do what you say, not necessarily what you mean."
But as a software engineer, this is ideal.
It would be horrible if it didn't follow the spec exactly as written because then all projects would converge on the exact same designs based on the AI's taste and it would be impossible to steer it away from slop.
If your codebase is simple, if you use a well designed foundation, the code it generates will be simple. I know because I've worked on both kinds of projects.
Why make the agent think more than it needs to? yell at it when it strays rather than you finding out that it has strayed.
Back in the day, if you were a responsible Perl expert, you could work magic that few others could, and it would even be maintainable and overall great. But, in fact, most actual Perl code looked like line noise and was unmaintainable spaghetti.
Intelligent human writing sucks you in in a way that AI generated prose does not.
Then why add the image? It looks ugly and adds nothing of value.
Also, stuff like JavaScript event instead of using CSS like :hover is easy to catch and fix. You just can't start being lazy
On code readability, shallow tests and general quality, I can agree emphatically, though not universally. In other words, there are models which write the densest, hardest (for me) to parse code and tests that break with the lowest load/timing deviations yet proof less than nothing.
These do that regardless of how much one ships in my experience however so I wouldn’t attribute this to the velocity and more poor data at the heart.
I know this reads a bit like “you are using the wrong model” and I understand if someone testing e.g. an OpenAI models understandably extrapolates across all models and considers poor parse-ability in code a likely result of velocity, but you can always step back and work slower, plus, for what it’s worth, I struggle to parse OpenAI code when running their models through my evals after step 7 which is still a fairly measured in scope code base.
Essentially, I have seen LLMs, even the newest frontier, produce barely legible slop when building simple CRUD and I have seen a massive rewrite of the existing Firefox code base using APZ to enable an infinite canvas of browser tiles grow in a manner where, even at this stage having replaced a lot outside Places and Gecko, I can walk through changes made and explain the logic, as well as look at any part I haven’t been in for a while and find my bearing even without assistance.
Whatever model you use, however much you trust it, if you can get a grip and explain what something does, that puts you in great shape. It also, for what it’s worth, helps future changes by better models to land with higher token efficiency and accuracy. I have put Opus 5.5 into a GPT-6 Astra written code base and it could land features, but the rework the model did along the way was eye opening. I then repeated, explicitly enforcing no changes beyond the initial scope which Opus 5.5 still could succeed in, but took far longer, far more tool calls and significantly more tokens then that change should have taken. I also have examples where any model can be more error prone and slower than myself, though those are unique and I myself have been told I was using the wrong model and sucked at prompting.
Use models like any tech if you want for what you feel comfortable for or don’t, both can yield good or bad outcomes. I was and still am an enthusiastic Flutter/Dart dev, which with pub.dev meant I drew in a lot of external packages of dubious quality and compatibility, that I never read. LLM output, I do read and can go beyond my manual contributions in understanding because of it. Doesn’t mean model use doesn’t enable me to do more. Code was, for me, always a means to an end, enabling something. That hasn’t changed and never needed more LOC or massive scope.
I think speed is the biggest flaw though. If i could get variable speed while planning vs building, thatd change some things. I run local models, so i am mostly in the slow lane. When patching these flaws, i want it to read the code parts and diagnose quickly.
When its coding, i want to see the problems its encountering with the prompt. I usually observe its thinking a few rounds and if it misunderstands, i redirect.
But in all of this, i want a dial that just speeds up once i feel its doing the right thing.
SOTA today, to me, would put a model floor like qwen3.8-flash-next on a platform i can dial up the speed. Thats all. I think many of us will bring our own harness, so the only hard point is how dumb the engineers tools are.
Since im building local, my tools do a lot more management. So.e of tge opinions i see on HN trigger a "skill issue" reflex because we have a whole shopping mall now if tools and the incurious seem oblivious to how these models are used by cloud providers.
Learning about the raw capabilities of LLMs makes getting them to "do the right thing" is now just a job description.
Lastly, the last decade of tech oligarchy exposes how little education elites had about humanity and wicked problems. Elon musk reinventing public transportation several times ignorantly. The fact that a social program requires the consent of the people it helps. LLMs are a stark lesson in the difficulty of knowing all the constituent parts and still being unable to predict outcomes.
Welcome to Socioligy 101 tech nerds.
In interviews, he admitted that the Hyperloop was intended to mess up the California High Speed Rail project because trains are boring. It's the opposite of ignorance, it's malice. Hanlon's inversion.
As much as he's malicious, he's also rediculously stupid in conception.