DEV Community

Discussion on: What's your best PR etiquette tip?

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

As a reviewer, my goal during a PR is to ask questions, not to be a gatekeeper.
I approve the pull request once I've done that.
I trust the reviewee to find good enough answers, or to ask for help if needed.
I know I have succeeded if in a next PR my fellow programmer ask herself the same questions.

I think often about this article from @daedtech : How to Use a Code Review to Execute Someone’s Soul

Collapse
 
sargalias profile image
Spyros Argalias

Nice. I think it's good to have trust that your colleagues are good. Good points in general.

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

That's the point, pull-requests were invented for the open-source model where you have zero trust with the first time commiters. Instead of emulating a zero-trust environment, build trust!

Collapse
 
waylonwalker profile image
Waylon Walker

not to be a gatekeeper.

Fantastic tip