Q&A highlight
Posted4 months agoActive4 months ago
Ask HN: Do you read your own PR?
code reviewsoftware developmentbest practices
Ask HN: Do you read your own PR?
No synthesized answer yet. Check the discussion below.
Discussion (5 comments)
Showing 5 comments
4 months ago
> No one I've ever worked with seems to do the same, am I alone in this behavior?
You are not alone. I also read and re-read my PRs, and it pains me when people from my team post them with a lame and mysterious "misc fixups" comment.
This turns into something particularly bad when you try to audit a change and both the commit message and the PR say nothing about nothing.
4 months ago
I definitely read through the changes in my PRs to make sure I haven't done anything obviously wrong.
4 months ago
Always, and sometimes I'll add authors notes as comments on the PR. This is actually one reason I dislike "all threads resolved" as a criterion for approving PRs (or specifically GitLab PRs).
4 months ago
I always do this especially to weed out unnecessary changes made during an exploratory phase
4 months ago
I check the commit messages to make sure i didnt use my personal git credentials (as i sometimes do), i comb through the git diff to make sure the changes are all what theyre supposed to be. i avoid whitespace or stylistic changes because they distract from the main point. I run git diff and git status maybe 10 times befire i submit a PR
my coworkers, from what i can tell, are much more incorrectly confident in the quality of their PRs