Reviewing code and people
Some years ago an Indian friend of mine was invited to speak at a conference here. He applied for a visa, then the visa application was rejected. He got someone to phone around behind the scenes, and learned the real reason for the rejection.
The decision made sense.
My friend was an expert in his field and could easily get a job here. The fact that he was invited to speak at that conference proved his expertise, and his connections here proved that he could easily get a job. Further, my friend was single (on paper), did not have a highly paid job in India, and he was young and easily able to move. The visa application reviewer quite sensibly inferred that that my friend had the option of not returning.
The visa application reviewer used this decision matrix when processing the application:
Application accepted | Application rejected | |
---|---|---|
Friend planned to return | Neutral | None |
Friend planned to overstay | Negative | None |
This matrix leaves out the impact on the conference and on my friend, because their interests did not matter when the decision was taken. The government at the time really wanted to reduce the number of people who overstayed their visas, and almost ignored other factors when it made the decision matrix. It didn't particularly care to please my friend, or to displease him, it wanted to reduce the number of overstayers.
It's easy to curse the xenophobic so-and-sos who guard borders, but when I look at that matrix, I can understand why the reviewer decided to reject the application, if the chance of overstaying seemed even just a little above zero.
Code reviews are like that in some companies. They can be easy to curse, too.
Patch accepted | Patch rejected | |
---|---|---|
Patch works | Neutral | None |
Patch is broken | Negative | None |
Given that matrix, of course each and every meeting is more important than getting progress on the patch. Of course any minor objection is enough to block the patch or ask for another revision. Some people say things like if you haven't found any problems, you haven't reviewed properly
. I think that when someone can say that with a straight face, the team is secretly using the decision matrix above.
For the next visa application my friend changed the matrix. Among other things, he arranged for a Sir Humphrey Appleby to telephone the consulate and explain that the minister hopes you will treat this young man favourably.
Application accepted | Application rejected | |
---|---|---|
Friend planned to return | Neutral | Minister displeased |
Friend planned to overstay | Negative | Minister displeased |
My friend got his visa. It's always good to have friends in the foreign ministry. It's good to have an appropriate decision matrix, too.
I have no simple hack to balance the matrix for a code review. But balance is necessary, that's one of the keys to useful code reviews. If the matrix is skewed one way, the code will stall, if the other way, it will acquire too much technical debt.