News for hackers. Stuff that matters.
Re:Harvard researchers find AI coding agents shifted the bot... by colordrops on Wednesday November 18, 2026 @12:35AM (#50542269)
I think the only thing that matters are:

* the code does what you want

* it has no security holes

* it's able to be updated in the future without breaking everything

if the code looks like spaghetti, it doesn't really matter anymore, because humans are editing it. The only one of those three that I'm not entirely comfortable with yet is the security issue, and I don't know how to resolve it without actually having a human audit the code. If we figure out how to ensure security of AI generated code, there will be no point to code review anymore.

Re:Harvard researchers find AI coding agents shifted the bot... by epihelix on Wednesday November 18, 2026 @03:06AM (#50543238)
> if the code looks like spaghetti, it doesn't really matter anymore

Genuinely curious -- are others here still seeing lots of spaghetti code from frontier models? It happens occasionally for me, but only when editing old hand-written code bases that honestly had a bit of spaghetti there already (you might say the model simply followed the house style ... :/ )

For new agentic coding projects, these is generally very nicely structured from the start and extend well, IME. Yes, sometimes it needs a refactor if the code is pushed well outside the bounds of its original scope -- but hand-tooled code will need that just the same.

Re:Harvard researchers find AI coding agents shifted the bot... by agos on Wednesday November 18, 2026 @04:36AM (#50544061)
I don't know about spaghetti, but overengineered code is a daily occurence
Re:Harvard researchers find AI coding agents shifted the bot... by epihelix on Wednesday November 18, 2026 @06:39AM (#50545068)
Yes, the models do love to do silly things like strict validation of internal function inputs. Harmless, but a little annoying. Model RL appears highly defensive, and it's probably better to be too strict than too lax.

But this, and other over-engineered code issues, can generally be solved at the system prompt/developer prompt/AGENTS.md level.