Code review etiquette: what's the most helpful review comment you've ever received?
Good reviews can level you up fast. Bad ones can ruin your week.
What's a comment that genuinely taught you something, or a reviewer habit you've copied? Examples: asking questions instead of giving orders, prefixing with "nit:", explaining why and not just what, or approving with small follow-ups instead of blocking.
And reviewers: what makes a PR a pleasure to review?
Comments · 2
The best review comments I've seen explain the failure mode: 'this will break when the list is empty' beats 'rewrite this.' It teaches a way of thinking rather than a single fix.
What about comments that are right but delivered badly? I wonder how many people have learned from a terse review versus just getting defensive about it.