3 ms·
Claude-written code is quite easy to spot - because it has this particular style of overly verbose "walls of text" comments, that 1. repeat verbatim what the co
by OleksandrC 3mo ago
Claude-written code is quite easy to spot - because it has this particular style of overly verbose "walls of text" comments, that 1. repeat verbatim what the code just below does, 2. include "list of things" that quickly go stale, 3. talk about "how things used to be before we changed it here" (useless to anyone reading the code now), 4. "talk to reviewer" in comments. And many other comment sins.
And even if you tell it to make it leaner, it'll maybe trim a little, but it'll still be a wall of text. Claude really likes to write its opuses and fables in comments.
And commit messages suffer from the same verbose prose.
And all of that happens even if you explicitly instruct in CLAUDE.md to keep things lean/concise. It's a disease.
- timjver 3mo agoThat doesn't really answer the question of how they're going to detect it at scale. Ban repositories with long comments?
- OleksandrC 3mo agoThey could, for example: 1. Rely on users flagging suspected repos (with human moderators reviewing afterwards). 2. Deploying AI agents to evaluate repos against known AI-generated-code patterns (also with human moderators afterwards). Of course, the irony of the situation - using slop machines to fight slop.
- ande-mnoc 3mo agoIt’s very poetic that codes written without human efforts can be efficiently dealt without human efforts.
- roundabout-host 3mo agoNon-generative AI is not slop.
- themgt 3mo agoClaude-written code is quite easy to spot - because it has this particular style of overly verbose "walls of text" comments, that 1. repeat verbatim what the code just below does, 2. include "list of things" that quickly go stale, 3. talk about "how things used to be before we changed it here" (useless to anyone reading the code now), 4. "talk to reviewer" in comments. And many other comment sins. "quite easy to spot" this style in what sense? To a human? To an LLM? To a deterministic code scanner you wrote by hand yourself, per Codeberg policy?
- skeledrew 3mo ago> And many other comment sins. I find that it helps Claude when it's updating that code again (it's a kind of out-of-session memory). A few times it's come across a past decision I gave it, and notified or asked me to clarify where an update would be conflicting. I'm not reading the code but I sure know when those "sins" help to prevent a regression or otherwise undesired behavioral change.
- niceguy4 2mo agoSheeeeeeeeeeeeit. Your agent writes comments? Must be nice.
- gnabgib 2mo agoJust tell the mods