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