I think this is the ultimate benchmark for well written LLM generated code. DRY FTW.
LLMs really don't like any duplication, even for some very basic shit, and that ends up leading them to create an infinite number of helper methods that makes reviewing even harder.
And if you ask it to 'tone down on DRY' (tried various phrasings), it never creates helper functions anymore.
I believe this will become one of the biggest tech debts generated right now. AI removes the pressure of inefficiencies and bad decisions across the board. There likely is even going to be a new equilibrium far worse than what we got today, only manageable by AI, but with "productivity" gains lost to inefficiency and complexity.
I don't see how any other outcome would be possible.
We can get a lot more done now and even pay off some of that old debt, but it doesn't remove the primary danger of painting oneself into a corner with bad decisions.
A while back I decided to vibe code for some Windows only USB gadgets. And once the prototype worked, I figured I wanted testing. But testing a hardware device is a pain, what if you have to click something on it?
That's where I usually falter. Getting stuff done is fun, sitting at home in my free time clicking every button on a device for a test is certainly not. Simulating the USB device is an improvement, but since I don't know how to do that off the top of my head, that turns into its own, fairly long project at the end of which I'm exactly where I started, just with better testing. Also not very fun.
And now AI can knock that out for me easily. This is a lot more involved than I'd ever have done in my free time, but also is probably going to be a better project on the long term. Because I have a far better testing framework for free, which makes for a better, more reliable project.
With human coding, the lazyness of the developer and the urge to keep things simple and deliver faster often leads to simple solutions (with a time/effort/return tradeoff). With AI, I get overblown MRs that work, but oftentimes could be simpler (with said tradeoffs). So my work has become more difficult and time consuming, and the codebases grows faster. And I don't think my team members learn or grow at the same rate as they did before.
Now, I have no strong feelings against AI - it is just a tool afterall. And I have no experience what the long-term effects of this will be (just as anybody else).