181k views
5 votes
The difference between over-the-shoulder code review and _____________ is over-the-shoulder requires two programmers, one explains their code to the other; the latter also uses two developers but allows the developers to swap roles between writing code and observing and strategizing.

User Yuli Hua
by
7.5k points

1 Answer

4 votes

Final answer:

Over-the-shoulder code review involves one programmer explaining their code to another, whereas Pair Programming involves two developers actively participating and alternating between writing and reviewing the code.

Step-by-step explanation:

The difference between over-the-shoulder code review and Pair Programming is that over-the-shoulder code review requires two programmers, one explaining their code to the other, while in Pair Programming, the two developers swap roles between writing code and observing/strategizing. In over-the-shoulder reviews, the observer does not take an active role in code creation, but in Pair Programming, both developers actively engage in writing, reviewing, and strategizing about the code, often swapping roles. This collaborative approach not only improves the quality of the code but also serves as a continuous learning process for both developers.

User Prasad Kharkar
by
7.6k points