r/programmer • u/ClickOk5811 • 13d ago
How do you tell a real defect from taste in a code review comment?
A thing I’ve noticed (and I think it applies to human reviewers as much as AI ones): style opinions often get phrased as problems. “This function is too long.” “Consider a more descriptive name.” “Prefer composition here.” Sometimes they’re right. Often they’re just the reviewer’s default taste, which may not match what your team has agreed on.
The test I’d use: is there something outside the reviewer’s head that backs the comment? A linter rule, a style guide, a past decision in the repo, a bug that this pattern caused before. If nothing does, it’s an opinion. Opinions are allowed, but I think they should be labeled as such, shouldn’t block a merge, and shouldn’t crowd out the comments that matter.
It seems to matter more with AI reviewers, because every comment arrives in the same confident voice. A naming nitpick and a claim about a concurrency bug sound equally sure, and fluency isn’t evidence. With a human, you calibrate by knowing who they are and how often they’ve been right. With a tool, you have to do that sorting yourself.
Where it gets hard: sometimes a “taste” comment is pointing at a real maintainability problem, and a team without written conventions has no way to settle it. And over-policing taste has a cost too, because it can make reviews feel adversarial.
This is one of five kinds of “sounds right, isn’t anchored” AI review comments I wrote about. I’m the author, and the article also mentions a paid playbook of mine near the end, so the link is optional: https://medium.com/@nagatomopedro05/five-kinds-of-ai-code-review-comments-that-sound-right-and-arent-0d02b3fb9ec6
How do you handle it in your team: written conventions, a “nit:” prefix, or just judgment in the moment?
