Live data from Hacker News

Better AI code comment detector

entropicthoughts.com

21–28 of 28 posts

Re: Better AI code comment detector

#21
post #14

Earlier quoted context omitted.

that means it's a bad writer. a good writer knows who their reader is and curates their style and complexity to fit. Claude writes like someone who doesn't give a single shit about whether or not you've memorized an initialism it made for some process 10 hours ago. it's the same issue that people have been having with the impenetrability of needless and performative jargon

It's more than disorganized - that disorganization hides a bunch of 1) horseshit assertions from nowhere and 2) contradictory statements both given as evidence for the same conclusions. My entire day is getting praised and apologized to for "holding me to a higher standard" and "pointing out the obvious contradiction." Meanwhile, I'm stuck and can't move forward (because every suggestion is dumb but asserted with the…

> It's not you that's dumb, it's them that are dumb.

I use AI a lot in my workflow and feel like I get a lot out of it. When I first started, I kept reading code & explanations and thinking "man, I just do not understand this explanation, I guess I'm not as good at this as I thought."

Then I started digging with the AI to have it explain stuff to me and I realized, no, it's the AI that's dumb.

Now when I don't understand something that AI generated I understand it's a great sign that it's wrong.

Re: Better AI code comment detector

#24
post #2

I was curious why someone would need to classify a comment in the first place. > One thing in this comment caught my mind: the small parenthetical that says “the usual case”. If that were true, it would be important information! However, this comment is generated by the llm model Claude, which has no sense of what counts as the usual case in this domain. That's from the post referenced early on. I think that's the fu…

I am in this camp but the downvotes are telling -- there isn't consensus in this community at all -- many find such clanker classification valuable. Some of these folks are growing an anti-AI economy that others, like myself, find odd, distracting and even amusing -- particularly with the universal naiveté of the classification algorithms. I have seen downvotes in these comments from similar criticism but I have points to spare.

Re: Better AI code comment detector

#25
post #6
post #2

I was curious why someone would need to classify a comment in the first place. > One thing in this comment caught my mind: the small parenthetical that says “the usual case”. If that were true, it would be important information! However, this comment is generated by the llm model Claude, which has no sense of what counts as the usual case in this domain. That's from the post referenced early on. I think that's the fu…

> The problem isn't that the LLM generated that text, the problem is that a human didn't read it properly and ask what that meant and fix it before pushing. The amount of garbage AI generates quickly overwhelms the human. The whole reason for computers to exist is to remove burden from humans. And yet here we are. I ended up vibe-coding a comment linter for my projects that catches the garbage and forces the models t…

> The whole reason for computers to exist is to remove burden from humans.

I wish this were more true. I think Baudrillard is closer to the truth: "If men create intelligent machines ... it is either because they secretly despair of their own intelligence or because they are in danger of succumbing to the weight of a monstrous and useless intelligence which they seek to exorcize by transferring it to machines ... By entrusting this burdensome intelligence to machines we are released from any responsibility to knowledge, much as entrusting power to politicians allows us to disdain any aspiration of our own to power." Intelligence itself is the burden :D

Re: Better AI code comment detector

#26
post #7

I find that the text that AI produces is sometimes unintelligible without putting _real_ effort into reading it. It's like the AI is becoming so intelligent that it spreads the information around through different sentences in a different way than humans do. I guess if you are a transformer with thousands of tokens of lookahead, why wouldn't you ... Anyway, I wish the LLMs were trained with a human-text-detector in t…

If you talk in the same way to a child than to a researcher in your same field you aren't smart, you're just terrible at talking.

Re: Better AI code comment detector

#28

Unfortunately my naive heuristic of "if there is a comment it is written by AI" is nearly as accurate.

Quick tip to make AI code better is just delete the comments. Usually they’re CoT that shouldn’t be there.

or, even better, block the model from writing comments entirely
Post reply on HN