News for hackers. Stuff that matters.
Re:We started requiring code reviews for everything, and my ... by ww520 on Tuesday February 28, 2012 @03:08PM (#3644736)
Code review is good in general; however, it's a chore for the code reviewer. There are very little incentive for the reviewer and it always cuts into his schedule. Unless the team has set up very clear incentive for code reviewers, it will become a rubber stamp routine.
Re:We started requiring code reviews for everything, and my ... by kamens on Tuesday February 28, 2012 @03:23PM (#3644807)
We all review frequently and this hasn't happened to us yet. Our reviews are extremely helpful. It has to be seen as a very core part of the dev team's culture.

I also explicitly asked this question to some ex-Googler team members about Google's code review culture (similarly required reviews) and heard that rubber stamping is by far the exception even at their size, not the norm.

Re:We started requiring code reviews for everything, and my ... by kaelspencer on Tuesday February 28, 2012 @03:16PM (#3644774)
The dev team I am on currently has five people. With all of us working in the same code base, I find the code reviews are a good opportunity to understand the changes my fellow developers are making. While reviewing code isn't strictly required on my team, having your code reviewed generally is. My personal incentive for reviewing is for my own understanding.
Re:We started requiring code reviews for everything, and my ... by ori_b on Tuesday February 28, 2012 @03:16PM (#3644779)
"I have to maintain this" tends to be a good incentive.
Re:We started requiring code reviews for everything, and my ... by nikatwork on Tuesday February 28, 2012 @10:18PM (#3646261)
not to mention, "you approved this yet it broke prod"
Re:We started requiring code reviews for everything, and my ... by HeyLaughingBoy on Tuesday February 28, 2012 @03:52PM (#3644917)
Then account for it in the schedule. SEI has metrics that estimate the amount of review time needed vs. coding time, you can use that for a start and update with your own data.

As far as the incentive: I really don't much like reviewing code either, but the bugs will be found one way or another. Either by you or your customer. Better they be found as soon as possible.

Re:We started requiring code reviews for everything, and my ... by bwarp on Tuesday February 28, 2012 @04:08PM (#3645001)
This is where we are. We use Crucible/Fisheye as well which really just makes things painfully hard.
Re:We started requiring code reviews for everything, and my ... by jonstjohn on Tuesday February 28, 2012 @06:32PM (#3645584)
We actually use Crucible and it our process is very smooth. Every development task must have a review created for it (usually spanning several commits) and one other person reviews the code. When the reviewer is satisfied, they give their approval and the task is closed. We do reviews for nearly all committed code.
Re:We started requiring code reviews for everything, and my ... by brown9-2 on Tuesday February 28, 2012 @04:22PM (#3645054)
The incentive is better code, catching issues much much earlier, and more awareness on the team. How is that not worth a few extra minutes per changeset?