logoalt Hacker News

chuckadamsyesterday at 8:11 PM1 replyview on HN

AI generates code that mimics the existing code. If your code is terse and comment-free, then the agent’s code is too. The times I’ve seen Claude drift into a default “house style” it generated like 1 comment for every 10 LOC or so. It’s a far cry from the GPT-3 days that littered every line with the journals of Captain Obvious.


Replies

atq2119today at 5:41 AM

That is definitely not my experience using Claude Code with Opus. I work in a very sparsely commented code base, and the agent produces substantially more comments than the surrounding code.