Hacker News new | ask | show | jobs
by basilgohar 21 days ago
I think looking at AI usage for code and development from an engineering perspective is going to be an exercise in frustration. I'm a software engineer for 20+ years and I've pivoted to using AI for my code 100%. I find it invaluable about the only way to stay relevant and run a business nowadays. Happy for anyone to disagree with me, because I don't want to be right for the first time in my life.

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.

27 comments

> Time only will tell how this plays out.

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!

AI also produces very brittle code through overfitting. A human will look at an issue and produce a generalized solution, an AI will look at it, in vastly more depth than a human can, and see that in combination with this over here and this there and that over there and this thing and that value, here's a fix that will work. However if any of the other conditions that it's identified ever get changed in the future, the whole thing will break. I've seen this overfitting again and again, solutions that cleanly fix the problem but depend on so much of the rest of the code base and/or data being in a particular form that it breaks if anything changes.
Right, the thing I find it does really often is to replicate policy through more than one mechanism. For example, this week, I was working on a const structure in rust that i needed to be able to serialize in a const context. It implemented the calculation of the serialized string length independently from the serialization string. It would certainly have worked, and probably for a long time, but it opened a potential bug route that I never would have created. This was on a single module.
Just last month I asked someone on the team to add some alerts. We like everything to be declaratively defined in the repo and we push metrics, and we have an alerting system. We just needed some plumbing to be able to define alerts that get created or updated on every deployment. I said to start lets add an alert for X metric, then we can take it from there.

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.

To be fair to your colleague (and the LLM) making things generic too early is a bit of an anti-pattern as well.
But that's exactly the problem. The judgement call on what should be made generic from the get-go vs what making generic early on is too over-engineering is something that you would expect an engineer (or a sufficiently advanced AI I guess) to consider.

Something like an alert should be all the way on the "should be generic from the get-go" side of that scale. There is no scenario where we only need one alert for a single metric. Some other scenarios would be an anti-pattern as you said. The judgement call here is important.

the thing I've found that's produced the most productivity is actually reducing the size of our code base. Makes it way more manageable and easier to add features/fix bugs.

I'd guess most code bases you could reduce by about 50% without losing anything at all.

Which again is ironic, because I've been doing that for most of my career whenever I am introduced to a legacy code base: The first thing I try to do is delete code. I think it's just good engineering practice to try and delete code as much as possible.
Yeah, the best practices for software engineering haven't changed, it just feels like a lot of people forgot about them for a while.
With luck, SWE culture will change towards caring about large-scale rearchitecture (and reward those who care enough to refactor and polish, polish, polish.)
It's all about massaging out those tight spots and untangling knots. A bit like kneading dough, perhaps, or annealing metal.
I don't think this will ever be appreciated or rewarded.
Yeah that's basically craft. Craft and beauty aren't usually rewarded unless it can be used for marketing.
You would lose something but it is because the trade off in complexity isnt worth it. This is the key to keep code low. If there is a thing that is barely used but is 60% of the code, maybe it can go? Ai will try and keep it backward comp forever.
Backwards compatibility is the biggest source of complexity, I think. Although it does alleviate another type of complexity that results from incompatibility.
We've done a refactor recently where we removed over 50% of our code, and we still had the exact same product.
I recently found Opus is pretty good at consolidating very-similar-but-different codebases.

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…

I’ve toyed with the idea of splitting a deeply nested tree of code into separate libraries for this.

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.

I think the opposite is probably the way to go: strip out some layers of abstraction, try to keep them to only the really valuable ones. In my experience LLMs are better at dealing with more concrete codebases.

It's also a lot cheaper to experiment with different abstractions within a codebase to really get them right, and especially to evolve them as the codebase changes.

> reddit

Discussion (though topic has been flaged): https://news.ycombinator.com/item?id=50433079

>The part that actually hurts is who is left.

Another AI-generated post complaining about AI? Or maybe the author just started writing like Claude themselves

That reddit post is written from the perspective of someone who's actually pro AI ("It felt great for about 6 months ...") and only realizes retrospectively they ended up in a mess. So there's no internal inconsistency in the narrative.

Anyway most of reddit is dead internet and that post is just engagement farming... As is most of hn.

The author specifically claims to have written the article themselves and not used AI, so you are basically accusing them of being a liar. You might want to be a bit more cautious about committing direct defamation. Just sayin' :-)
Since AI agents are free and unlimited in a sense. Companies would be assigning a dedicated agent to a service full time that would keep a long term memory of project design, decisions, history and all. It'd be 10x cheaper and 10x faster (at least thats the thought). They will have their own titles Agent, Sr Agent, Principal Agent, Staff Agent and so on.
At least leave the bureaucracy to humans. It’s the only thing we have left.
Most of the comments encouraging people to disregard quality are from accounts only a few months old.

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

There is too many businessmen and too few hackers in here
If it is even that and not just someone's LLM pretending to be one.
Y'know - if I were a LLM company, and I wanted to encourage market penetration of my LLM within the developer community, then targeting developer discussion areas would make sense.
What exactly are you implying with your strawman here?
> Most of the comments encouraging people to disregard quality are from accounts only a few months old.

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.

One thing I learned is to establish as much guidance up front as possible. One shotting something more than a few lines of change isn't sustainable without additional guidance. The best flow for me is to have it generate a draft plan in a file, add copious inline comments, have the same session process them, repeat until plan is detailed and only then give the go signal.

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.

Sounds reasonable to me. And that’s very different from the parent and grandparent comments that assert they don’t look at any of the code at all and just have agents buzzing around writing and fixing everything autonomously.
Are you suggesting anyone who doesn’t agree with you is a shill? Generally a convenient and comfortable fiction. (There are shills here, when my tin foil hat is on I sense geopolitical ones, but advocacy for AI coding is pretty widespread.)
There's no need to be a shill to have a different perspective on something from the people that do it. Management do usually forget about how programming works even when they did it themselves before - I know because it happened to me.

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?

I think AI is an invaluable tool as well. I also think it’s an addicting tool that dramatically changes how we think, some positive, some negative. For example, outsourcing all your thinking to gen ai has already burned colleagues.

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

> What happens when your budget goes from 2k/mo to 200 per eng? What happens when that 200/mo cost turns into 500?

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.

Agreed but if the industry moves to local models, 1T valuations go pop and with it the economy.

I find it hard to predict what will happen to swe after that.

> industry moves to local models

that would be an ideal outcome.

Today's cloud-locked models you pay a subscription to to use is akin to the old AOL internet.

I find it slightly mad that people are arguing this. Do you maintain a local datacentre for hosting? Do you store all your data locally? If you're a business of any size, the answer is probably not, because it's inefficient for some random company to manage servers. That is not going to suddenly change with LLMs and GPUs.
> If you're a business of any size, the answer is probably not, because it's inefficient for some random company to manage servers.

any size? At work I’ve been told that our own colocations (not data centres, though) cost a few times less than hosting the same amount of resources in the so called “cloud”. Including salaries of sysadmins.

The option to self-host is what keeps the cloud companies honest.

Unlike commodities, like electricity or utilities, the cloud companies can change the model without telling you. They can gatekeep certain functions - for example, reverse engineering.

The option to self-host will make sure that such sneaky/anti-consumer tactics are not profitable for them.

1. That's an entirely different problem

2. They try to make up for it in volume. Which is why they want to wedge AI-usage into every aspect of work and life.

You don't need 1 dev spending $2000/mo if you can get 2000 people spending $1+ per month

They must be spending some of those hundreds of billions on trying to convince people to do this. Advertising has to work at least a bit until everyone works out whether or not the product is really that tasty. So it's imaginable that we could be in a hype cycle because there's a gigantic economic engine that has an interest in us being in one.
I hope it pops and gets put on a more organic growth path. Locking up sales for RAM and storage more for monopolizing purposes is a sign that they were overcapitalized to the point that they didn't know what to do with the money. Same with building datacenters but taking community utility capacity. The shortcuts that are enabled are insufferable self-harming strategies that aren't that effective for moving adoption forward faster.
"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?"

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?

Are all developers going to have to be trusted to manage spend? I find that hard to imagine from our existing managerial system

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?

Of course developers should be held responsible for managing costs and other resources. We do it all the time, from infrastructure spending to client-side memory usage.

There's growth phases, where cost doesn't matter as much, sometimes to a seemingly unreasonable degree. And then after that, it really does.

I guess that differentiates us from "real" engineers, who can't make the bridge they're designing cheaper later, they think about it upfront. But we think about it, too.

It was an incredible bull indicator for AI that, like AWS, it lets engineers spend unlimited company money without advance approval.

(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 would love to hand code way more but truth is when you have a small team of developers and they are all in on AI for coding then it’s actually hard to hand code. At a certain point the project ends up being only workable by AIs which is kinda sad. Coding is fun.
No worries, you will soon reach a point where fixing anything is impossible.
The issue is there are multiple dimensions of quality, and people mean different things when they talk about it. Personally I think code quality for its own sake has always been a false flag that only gained currency because of skill moat of software development. On the other hand, user experience and fitness for purpose has always mattered a great deal, all the moreso when code is cheap, and this is definitely tied to code quality. The connection is even more stark when you talk about evolution of a system over time and data integrity. Here, the tacit assumptions, invariants and external interfaces chosen have a huge impact on the quality of the system and fitness for purpose over time. Every choice made affects the future, and it's very easy to box yourself in with bad choices, which ultimately depend on the offline human concerns that system is impacting.

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.

I always loved the idea of perl measuring kwalitee.

It sounds like quality, and you can measure it and make decisions as it's well defined, but of course it's not quality.

https://qa.perl.org/phalanx/kwalitee.html

In my experience (15+ years), the biggest trade-off is a lack of technical innovation. Current AI is unable to innovate. Humans can, but doing so requires spending extended periods deep in the code and building a solid mental model of the system.
Just like GPs argument about quality; the majority of businesses doesnt need innovation and often even fights it.

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.

Businesses in a competitive market need some kind of innovation to do better than their competition. This doesn't have to be software of course, but often software does play some part in it. And it doesn't mean it's their in-house software, but someone has to develop it after all.
Most of the "innovation" I'm seeing is coming out of non-engineering teams vibe coding solutions or operational harnesses based on their non-engineering domain expertise.

It is fairly mortifying to watch them build solutions in hours or days that are designed better than the projects they were prescribing to product engineering teams to take literal months to spike, PRD, build - then maintained and governed better - with no real understanding of how it works.

Obviously lots of caveats to be made here, but fascinating to watch it play out (at least in places where infosec is robust enough to give a sales manager access to Claude Code).

I find it interesting how we want to make war on russia and china while our entire society relies more and more on completely unsecured software that they can take down and disrupt us with very little effort.

In my mind we should be much more defensive before we even think about doing anything offensive.

No, they don't. There are multiple businesses doing the same thing serving the same market in all kinds of industries.
>the biggest trade-off is a lack of technical innovation.

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.

There’s certainly more software being made now than before, which necessarily increases the number of (security) bugs. There are also a lot more users and use cases (e.g. smartphones).

But I’m not at all convinced that 30 years ago things were appropriately secure or usable.

Or in the enterprise world it's given us billions of dollars of waste by re implementing the wheel
Most innovation is pointless, because a lot of it revolves around just making code easier to maintain and understand for humans, it’s not like you’re innovating radical new algorithms for a CRUD app or making performance modifications that people will actually notice.

But since AI writes everything anyway, innovations that improve “developer experience” are pointless, and all the other low hanging fruit has been taken.

What I wonder then is...is it going to be the final word on the evolution of software development? AI has been trained on practices that were developed by people, by professionals and amateurs, by discussions on discussion boards, at tech events, through written books and then disseminated across open source projects. If no one writes code anymore then how to write and build software projects will never evolve beyond the 2022 state of affairs.
That data goes into pretraining the initial model. The agentic post-training relies on the model making stochastic exploration. So in a sense it learns via trial and error. By the accounts I have read, this second stage is the dominant reason we have seen the increase in model capabilities in the past year. It is still not clear how innovative the models can be, but they are not just relying on static data.
It seems like we have more innovation around "developer(=agent) experience" than ever. Look at all the people building various agent control plane systems, containers, isolation, issue tracking, project management etc.
That’s software engineering bubble.

Go out to a bakery, tire shop see how much they innovate. Then go one rung up to services they consume like insurance and banking. All of this chain is super conservative.

innovation is about being able to reach for better solutions to problems where previously it would "take too long". e.g. DSLs.
We fought for quality code mostly for selfish reasons. Because it sucked to work in a messy, fragile codebase.

But AI doesn't care. It can, and it will, happily churn through a messy codebase.

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

Actual effectiveness aside, the comment is more about willingness to even work with messy codebases. No matter how messy the code gets, agents can and will continue to push forward. While humans would just get fed up. In the past I've known multiple devs who literally quit and switched jobs from working with messy codebases (you can't always tell what you're walking into during the interview stage).
Good old Garbage In Garbage Out. Only Non Garbage In produces n% garbage on each iteration, so you eventually regress to GIGO.
"Good, fast, cheap" never changes.

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.

Of course it changes. Compare clothing before and after the industrial revolution. We definitely have good, fast, cheap clothes now, to the point where the second hand market for clothes is pretty much dead and clothes are seen as disposable objects. The same can happen to software. There is nothing preventing disposable software, indeed the number of one-of Python scripts that I use and discard has exploded. With further cost reductions I can totally see the disposability barrier to climb to larger software systems.
Tailored suits vs. off the shelf ones? Cheap imports that fall apart after a few dozen wash cycles? You absolutely still pick two (at most) for clothing.

The industrial revolution may have changed the bounds, but it didn't change the relationship.

Your one-off Python scripts are a bit like handkerchiefs. You can make a one-off hanky by cutting a square off an old sheet, fast and cheap, but it's clearly not as good as a re-usable one and you'll throw it out after using it once or twice. That sort of idea simply doesn't scale with complexity. A "good enough" pair of pants needs a lot more than just snipping out a shape. Even a one-off pair of pants, like for a costume, requires time and effort. So too with larger programs. They require more time and effort.

AI changes the bounds: it's cheaper and faster to produce software than it was, but it's not cheaper or faster to make something good than it was, not by an appreciable amount. It remains to be seen if software turns into cheap clothing advertised on buses that is barely fit for purpose... but the industry's track record isn't anything to praise, so probably, it will.

For an hour at minimum wage I can buy a t shirt that lasts a year or two before it needs mending. That’s ridiculously cheap compared to pre industrial garments, which is why mending rarely happens. Even tailored clothes are extremely cheap because machines weave the cloth and machines do the sewing. Imagine you had to pay minimum wage to cotton pickers, people operating a manual loom and people sewing by hand.
But I think it does. For instance your comment is not all that different than ones I read, what feels like not 'that' long ago, back when hand-crafted assembly was often still significantly better than compiler produced code in many cases. I'd point there not only to the eventual outcome, but also the fact that we're having this debate when there's every reason to expect LLMs to continue significantly improving, much in the same way that these debates of the past were also being held at a time when compilers were still rapidly improving.
Better tools doesn't change the relationship between time, quality and cost. It just changes the bounds on those values. You can use a compiler to compile shoddily written high-level code just as easily as you can use it to compile well-written high-level code. The cost of writing the high-level code is cheaper than the cost of writing equivalent assembly, but the time and cost of writing good code remains higher than the time and cost of writing bad code.

Then, too, hand-crafted assembly still beats compiled output, if you consider the only upper limit on quality. The gap in quality is much, much smaller, and the gap in time and cost is much, much bigger, though, so it's almost never worth the trade-off.

Let's say that AI-generated software eventually (or already, if you like) produces better quality software than people can produce, given the same time and cost restrictions. You can still spend more time and cost to get a better result, or accept a worse result to save time and cost. Or take more time to get a good result but more cheaply using off-peak pricing (tokens or power, take your pick). Or throw more parallel agents at the problem to get a good result faster, but at higher cost.

Pick two. Always.

Upper limits don't matter when humans can't realistically achieve them. There are exactly 0 humans alive today who can write better assembly for any complete program, of a minimum complexity, than a compiler.
That’s shifting the goal posts.

I hit a corner case yesterday in which assembly would give me a better result than compiled code. Emulating an eZ80 ALU on an x86_64 platform means doing a simple operation like add then taking something like 26 more instructions to sort out the flags. Or you can just use ‘mahf’ to load the x86 processor’s own flag results into a register and use them almost verbatim.

It’s still not worth doing, though, since I can easily reach performance targets without.

Yeah, code humans can read is quickly just becoming another intermediate language for the AI to work on. We are quickly moving up another abstraction layer. I think part of the challenge for ICs is now we’re all becoming managers, which isn’t something everyone wanted.
Yeah but if you don't keep tabs on it, you might not know what to prompt it to fix. For example, early on I established in my fun proof assistant project, that I did NOT want total functions (1/0 should not be permitted, 3-4 not permitted in N), and it seems to have forgotten that along the way and it took a 2 day struggle session to remove total functions from the standard library.

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

I think you are underestimating the spiral effect. Working with a documented and structured code makes it easier to understand and reason with even for LLMs. At the end of the day its working with patterns, grammar, trying to deduce and implement intent. Its possible where we enter the era of blackbox applications where no one knows the internal, and yet for the required inputs it provides the expected outputs. Every failure would re-trigger the evaluation of the whole application to accomodate that one failure in requirement.
> But AI doesn't care. It can, and it will, happily churn through a messy codebase.

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.

This is not anything new. I found the same pattern when I started working at a company which heavily relied on an IDE and intellisense for embedded development. Naming and code organization best practices can be ignored if you have "go to definition" available to navigate the code for you. The code base can be messier - up to a point - because you can offset the messiness with tooling.

LLMs are the next logical progression of this trend.

> We fought for quality code mostly for selfish reasons.

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.

... and now the people who wrote that low quality software are potentially the ones who can't see when AI generated code has its own problems.
I agree. And while AI does better when there is less tech debt, at the same time paying down tech debt has gotten immensely cheaper.

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.

> A timed cadence of release is anathema to quality code because you can't timebox it.

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.

I think it'll be fine as long as we aim for software to be finished and replaced instead of indefinitely extended. Best practices have followed the tradition of reuse and abstraction for so long because that lets us approach software with the "building the Pyramids" mindset - a indefinite march to create functionality one brick at a time within a scarcity of working code.

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.

Ahaha we're going to re-learn a lot of the hard-won lessons of development over the next few years. Just because AI will tackle any job doesn't mean bad choices made now won't lead to time and cost blow-outs down the line. It'll just be token spend blow-outs instead of programmer hours.

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.

since every LLM is completely ignorant of your project's history and minutiae

It’s a good thing no business ever has to hire a new developer and get them up to speed on such things!

Business who fire entire teams and hire new replacements have much more costs and failure than people who keep the teams going and slowly rotate them yes.
Yep, I worked for an S&P 500 company that gradually moved from quality to quantity while I was there.

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.

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. Overall, a more fragile and worse ecosystem of software (even if there's more software overall).
AI models and tools are only as good as the people who use them.

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%

> AI models and tools are only as good as the people who use them.

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.

We don't throw away the IDE or judge it because it "allows" someone to make junk code.
> 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" ?

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.

> AI models and tools are only as good as the people who use them.

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.

That said, my experience tells me that enterprise and business coding has rarely ever been about stable or robust codebases.

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.

The difference is that every PR is still heavily scrutinised for correctness. Companies are moving in the direction of LGTM reviews.
wait for the Looks Good To AI trend.
Interesting. Which ones?
Postgresql, linux come to mind. As well as rust.
Exactly what I'm seeing. The AI does even seem to do quality code, but you have to give it a heavy hand on the engineering side of it. Track small, test-driven changes, highly detailed documentation, a way to programmatically access the application and debugging features, high quality logging, design and implementation approvals, and frequent full audits. The quality it provides is heavily dependent on your quality as an engineer and how well you can keep it on track.
I suspect the code being generated ends up falling into a local maxima, and only much later will the cost of extracting be apparent.

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.

What you're missing in your calculus is that by the time the local maxima is reached, the business has either pivoted to something else or is throwing money at the problem to make it go away.

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.

Yes! I definitely know this is reality, but I’m not quite sure what’s a shorter and simpler model/term that captures this behavior.
it's about dynamic tension. we as engineers should want to do things the right way even if it means spending infinite money and never releasing. the corporate side should want to do things the wrong way because it's cheap and gets to market faster. we should argue with one another til we're blue in the face about it every day, and the actual thing that gets delivered should exist at that perfect little goldilocks zone in the middle where both sides hate it and blame the other for its shortcomings.
Widespread misconception. There are plenty of product managers / executives who also want quality and plenty of engineers who want to ship. I'd wager most engineers would rather ship and get their creation in front of users than spend eternity perfecting it.
of course we can never speak of an entire population in absolutes, only tendencies, but if you're going to argue against the tendency i'd like to see a bit more depth to the argument than "I'd wager". I also don't think my overall point suffers at all if you substitute "engineers" with "some people" and "corporate side" with "other people", so i'm going to politely request that we do that going forward so we can address the substance of the discussion rather than the makeup of the two sides of it.
Yes, whenever I’ve seen sloppy work it’s come from the programmer. Management rarely seems to care either way.
I agree completely and I wish I was wrong as well. Luckily I don't develop software in a company that sells software (aside a few support utilities). What I see is that everyone is starting vibe coding and my job is to create a harness now. Within a year there is a software pipeline for a 500 people company that would rival a huge enterprise just a few years/months ago while still offering the flexibility of "agile/unplanned" development.

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

Seconding that.

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.

I've said this before around here: I'm starting to realize that the high costs associated with pre-AI dev were a feature the majority of the time. I can't find that old cURL UI which had infinite toggles and options - but that's where cheap development leads software:

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

That’s not an AI problem, but a software/product design problem. The adage that what someone says no to is more important than what they say yes to, comes to mind. We can no longer be lazy and say we don’t have time to build a feature, we must do the hard work and make decisions.
> That’s not an AI problem

> [Mine] Enterprise software not being about quality was always a problem

> Time only will tell how this plays out.

I can tell you: your management skills will be copied by the AI (thanks to your input!)

AI Inevitability is Business Inevitability in a trench-coat.

God knows but money decides.

When we look at wider enshitification patterns being pushed in some industries I can't exactly see AI being a problem for those specific sectors. Similarly I don't see a problem in areas that want to create adversarial customer interactions. At least as long as someone is on the hook to quality control that adversarial relationship in the shareholder's favor.

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.

> I find it invaluable about the only way to stay relevant and run a business nowadays.

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.

Very true!
oh classic "its better than humans that suck". Truth is that enterprise software development is mostly jobs program for the middle class. Software jobs building random internal tools are obviously bullshit jobs.

Using AI to generate something that had no value in first place is just silly.

Agreed 100%, especially with the sentiment that a lot of people have been telling themselves stories about the importance of quality in the industry (it was quite obvious, long before AI, that quality was not a concern unless marginaly in the rare cases where it mattered for competing. But quality for the sake of customers? No way, not now, not in the past, never.

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.

We already went through this when everyone started “outsourcing” in the 2010s.

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.

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

code is disposable now.
Code has an invisible attribute "confidence" associated with it. All code has it. So-called "battle-tested" codebases have a high value, newly-written stuff starts at low values, and the only two ways of increasing it are 1) rigorous testing and 2) actual usage in production scenarios at scale.

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.

I’d argue that code was always disposable. What was valuable was always the specifications and test cases, which more directly represent useful knowledge with lasting business utility.

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.

Agreed.

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.

_some_ code is disposable, but robust, proven solutions that fit the case of massive userbases will keep existing and get maintained. at a certain point it makes no sense to rebuild everything each time.
> but robust, proven solutions

As AI has been highlighting, maybe this idea has always been an illusion.

would you vibecode photoshop every time you need to edit a photo?