How Code ownership improves quality of code in Pair Programming?

 Posted by Niladri.Biswas on 4/23/2013 | Category: Others Interview questions | Views: 901 | Points: 40

Code ownership improves quality of code: It is true that when developers own the code they write, they try to make it as good as possible, because after all, it is their reputation at stake. However, individual code ownership diminishes the chances of peer review. Peer review has been found to be very helpful in increasing code quality. During Pair programming, the code and design is reviewed immediately. Thus, if a developer makes a mistake due to an oversight, it is very likely that his pair will point it out. Also, when dealing with a particularly difficult coding or design problem, it has been found that two developers will explore a larger solution space and will find a better solution.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response