Skip to main content
Question Protected by gnat
Post Made Community Wiki by Mike Roberts
Notice removed Reward existing answer by gnat
Bounty Ended with lorddev's answer chosen by gnat

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we gotWe have some experienced developers and we also gothave new hires with almost zero programming practiceexperience.
  2. we'dWe'd like to perform fast and short iterations to release our product.
  3. we allAll team members locateare located at the same site.

The advantages of code review before commit I've learned,:

  1. mentorMentor new hires
  2. tryTry to prevent errors, failures, bad designs in early developingin the development cycle
  3. learnLearn from others
  4. knowledgeKnowledge backup if someone quits

But II've also gothad some bad experience, likeexperiences:

  1. lowLow efficiency, some changes may be reviewed over days
  2. hardHard to balance speed and quality, especially for newbies
  3. some guyOne team member felt distrust

As to post-commit review, I just knewknow little about this, but the most thing II'm most worried about is the risk of losing control, people never due to lack of review.
  Any opinions?

UPDATE:

  1. We're using Perforce for VCS
  2. We code and commit in the same branches (trunk or bug fixing branches)
  3. To improve efficiency, we've tried to split code into small changes, we've. We've also tried some live dialog review, but not everyone followed the rule. This is another problem though.

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we got some experienced developers and we also got new hires with almost zero programming practice.
  2. we'd like to perform fast and short iterations to release our product.
  3. we all team members locate at same site.

The advantages of code review before commit I've learned,

  1. mentor new hires
  2. try to prevent errors, failures, bad designs in early developing cycle
  3. learn from others
  4. knowledge backup if someone quits

But I also got some bad experience, like

  1. low efficiency, some changes may be reviewed over days
  2. hard to balance speed and quality, especially for newbies
  3. some guy felt distrust

As to post-commit review, I just knew little about this, but the most thing I worried about is the risk of losing control, people never review.
  Any opinions?

UPDATE:

  1. We're using Perforce for VCS
  2. We code and commit in same branches (trunk or bug fixing branches)
  3. To improve efficiency, we've tried to split code into small changes, we've also tried some live dialog review, but not everyone followed the rule. This is another problem though.

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. We have some experienced developers and we also have new hires with almost zero programming experience.
  2. We'd like to perform fast and short iterations to release our product.
  3. All team members are located at the same site.

The advantages of code review before commit I've learned:

  1. Mentor new hires
  2. Try to prevent errors, failures, bad designs early in the development cycle
  3. Learn from others
  4. Knowledge backup if someone quits

But I've also had some bad experiences:

  1. Low efficiency, some changes may be reviewed over days
  2. Hard to balance speed and quality, especially for newbies
  3. One team member felt distrust

As to post-commit review, I know little about this, but the thing I'm most worried about is the risk of losing control due to lack of review. Any opinions?

UPDATE:

  1. We're using Perforce for VCS
  2. We code and commit in the same branches (trunk or bug fixing branches)
  3. To improve efficiency, we've tried to split code into small changes. We've also tried some live dialog review, but not everyone followed the rule. This is another problem though.
Notice added Reward existing answer by gnat
Bounty Started worth 50 reputation by gnat
Rephrased, added some update
Source Link
fifth
  • 669
  • 1
  • 10
  • 12

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we got some experienced developers and we also got new hires with almost zero programming practice.
  2. we'd like to perform fast and short iterations to release our product.
  3. we all team members locate at same site.

The advantages of code review before commit I've learned,

  1. mentor new hires
  2. try to prevent errors, failures, bad designs in early developing cycle
  3. learn from others
  4. knowledge backup if someone quits

But I also got some bad experience, like

  1. low efficiency, some changes may be reviewed over days
  2. hard to balance speed and quality, especially for newbies
  3. some guy felt distrust

As to post-reviewcommit review, I just knew little about this, but the most thing I worried about is the risk of losing control, people never review.
Any opinions?

UPDATE:

  1. We're using Perforce for VCS
  2. We code and commit in same branches (trunk or bug fixing branches)
  3. To improve efficiency, we've tried to split code into small changes, we've also tried some live dialog review, but not everyone followed the rule. This is another problem though.

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we got some experienced developers and we also got new hires with almost zero programming practice.
  2. we'd like to perform fast and short iterations to release our product.
  3. we all team members locate at same site.

The advantages of code review before commit I've learned,

  1. mentor new hires
  2. try to prevent errors, failures, bad designs in early developing cycle
  3. learn from others
  4. knowledge backup if someone quits

But I also got some bad experience, like

  1. low efficiency, some changes may be reviewed over days
  2. hard to balance speed and quality, especially for newbies
  3. some guy felt distrust

As to post-review, I just knew little about this, but the most thing I worried about is the risk of losing control, people never review.
Any opinions?

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we got some experienced developers and we also got new hires with almost zero programming practice.
  2. we'd like to perform fast and short iterations to release our product.
  3. we all team members locate at same site.

The advantages of code review before commit I've learned,

  1. mentor new hires
  2. try to prevent errors, failures, bad designs in early developing cycle
  3. learn from others
  4. knowledge backup if someone quits

But I also got some bad experience, like

  1. low efficiency, some changes may be reviewed over days
  2. hard to balance speed and quality, especially for newbies
  3. some guy felt distrust

As to post-commit review, I just knew little about this, but the most thing I worried about is the risk of losing control, people never review.
Any opinions?

UPDATE:

  1. We're using Perforce for VCS
  2. We code and commit in same branches (trunk or bug fixing branches)
  3. To improve efficiency, we've tried to split code into small changes, we've also tried some live dialog review, but not everyone followed the rule. This is another problem though.
Tweeted twitter.com/#!/StackProgrammer/status/244042616319143936
Source Link
fifth
  • 669
  • 1
  • 10
  • 12

Review before or after code commit, which is better?

Traditionally we performed code review before commit, I had an argument with my colleague today, who preferred code review after commit.

First, here's some background,

  1. we got some experienced developers and we also got new hires with almost zero programming practice.
  2. we'd like to perform fast and short iterations to release our product.
  3. we all team members locate at same site.

The advantages of code review before commit I've learned,

  1. mentor new hires
  2. try to prevent errors, failures, bad designs in early developing cycle
  3. learn from others
  4. knowledge backup if someone quits

But I also got some bad experience, like

  1. low efficiency, some changes may be reviewed over days
  2. hard to balance speed and quality, especially for newbies
  3. some guy felt distrust

As to post-review, I just knew little about this, but the most thing I worried about is the risk of losing control, people never review.
Any opinions?