Where have the reviewers gone?
Posted May 24, 2007 3:47 UTC (Thu) by
neilbrown (subscriber, #359)
Parent article:
Where have the reviewers gone?
Reviewing patches can be unrewarding work.
While I completely agree with this statement, I would like to assert that
it can also be very rewarding work. I have had a couple of experiences
recently where some review work was quite fun.
I think that a key element of enjoyment is the opportunity to meaningfully contribute. If the code is near-perfect, then there is not much room for contribution, and so not much pleasure. On the other hand, if the code is at total mess, then there is not much room for meaningful contribution either: "where do I start...."
But there is plenty of middle ground. Code that fits the coding standards
of the project and has been tested for a couple of test cases, but probably still has a few warts is the sort of code that can be fun to review. The
reviewer can learn something. They can experiment. And they can probably
find a few bugs or room for simplification. While the author could
probably find those bugs too if they looked a bit longer, letting the
reviewer have a chance is just "Good sportsmanship".
I think the maxim "Release early, release often" is still good, but to please reviewers I would add "not too early, not too often". You don't want the reviewer to give up in disgust, or to get reviewer-fatigue.
I think it is important to have developer/reviewer teams (and yes, we need more of them), and it is important that they are both involved from early on. Getting code reviewed shouldn't be the last step. It should be integral to the development.
(
Log in to post comments)