Reviewing PRs is not just about the code or the tools, the way you phrase your comments matters too, especially if you are a peer reviewer.
Should this be extracted out?
rather than Extract this out
or This should be extracted out
.This separation of X from Y is good
(or correct
or wrong
or bad
)I like how you separated X from Y
(or didn't like
or Not sure I like
)Any reason why you did it this way instead of that way?
Please use better variable names
as Please for the love of God can you use better variable names?
. Instead, you can say Perhaps a more intuitive variable name here?
which doesn't run any risk of misinterpretation.... I noticed the same issue in several other places too
.Further readings: