Pre-pull request self code review:
Why did I call this function that?
Why did I put those functions in this file instead of that file where they obviously belong?
This other block clearly doesn't do what the spec defined.
Guess I'll wait on that pull request then.
1
1
That you do that pre-PR code review for yourself is a wonderful thing. Encouraging my colleagues to actually *look* at what they're proposing before they ask others to review it has been a theme of my last 2 years of work :D
2
1
1
There's no point trying to rush things through. Being un-thorough will just make the PR review throw up hundreds of comments and requests for change.
I'm also a stickler for good commit messages. I generally reject one-liners.
1
Heck yes, good commit messages are valuable, though sometimes a one-liner is sufficient tbf. What I hate is people who don't clean up their commits, I view commits as a way to break down a change to understand it better; and as a forward-view to when you have to `git blame`.
1
Past me was a dick who wrote bad commit messages. Present me is trying to do better so that future me doesn't hate present me quite so much when he's past me :D
Jan 23, 2020 ยท 11:18 AM UTC
1
1

