结对编程:
结对编程是极限编程的一个组成部分。它的工作原理是两个人形成一对并且绝对比一个更好。它涉及在创建设计之前对设计假设进行分析。它需要配对成员之间的实时交互。结对编程可用于测试和编码。
同行评审:
同行评审是一种在软件开发中验证源代码正确性的标准化方法。在产品开发之后,通过这种方法检测和纠正缺陷。在开发阶段的早期没有关于产品的设计和创造的讨论。在同行评审中,制定了一份清单,并应不时更新。
Pair Programming 和 Peer Reviews 的区别如下:
S.No. | Pair Programming | Peer Reviews |
---|---|---|
1. | Pair Programming is concerned with only two people that forms a pair. | Peer reviews requires more number of people for reviewing. |
2. | Real time interaction between pair takes place in pair programming. | While in peer reviews batch type of interaction among many members of the review team takes place. |
3. | In pair programming, both members of the pair are mutually responsible for the creation of the product. | While in peer reviews, only the developer is responsible for the creation of the product and other team members are for the product review task only. |
4. | In pair programming, discussions are carried out throughout the process of development. | In peer reviews, reviewers see only the final product after the development phase. |
5. | Development effort is more in the pair programming as compared to peer reviews. | Development effort is less but all group members in peer reviews requires time to study documents. |
6. | Pair programming can provide continuous and constant guidance to the new members from the experienced members. | While in peer reviews, checklist documents guide new members of review team and all group members have to must attend review meetings. |