logoalt Hacker News

softwaredoug • today at 9:56 PM • 1 reply • view on HN

IMO slop usually comes from overly defensive programming from LLMs. They’re loath to remove code and simplify, because unless we humans tell them some code / use case is unimportant, they have no reason to not care about it.

So agents can make these overly complex solutions trying to make bulletproof implementations and prevent regressions.

It requires a human to look at code, ask about complexity, and guide simplification by subtracting requirements implicit in the code.


Replies

skrtskrt • today at 10:01 PM

They also seem to really bias towards tacking on new code to "work around" what's there, rather than breaking down what's there into smaller more composable bits that can serve the pre-existing use case and the new requirement elegantly.

➕ show 3 replies