Remix.run Logo
OleksandrC 4 hours 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.

skeledrew 21 minutes ago | parent | next [-]

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

themgt 4 hours ago | parent | prev | next [-]

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.

"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?

timjver 4 hours ago | parent | prev [-]

That doesn't really answer the question of how they're going to detect it at scale. Ban repositories with long comments?

OleksandrC 4 hours ago | parent [-]

They 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 4 hours ago | parent | next [-]

It’s very poetic that codes written without human efforts can be efficiently dealt without human efforts.

roundabout-host 2 hours ago | parent | prev [-]

Non-generative AI is not slop.