DEV Community

Discussion on: Pair Programming Patterns

Collapse
 
simmol profile image
Pavlin Angelov

Pair-programmng lower defects (more eyes on the task) also improve knowledge distribution in the team and remove or at least lower the need for code review. (Someone else already saw the code). With rotation of pairs everyone knows the code.
That is the theory if you do it right and spend some time and effort into it, to make it work for you and your team.

From my experience good pair programming session actually finish complex code/problem tasks faster. Cause you find solutions to problems faster. Also you don't miss less obvious stuff so often.

It is important to factor the time spend understanding other people's code which you had not taken part writing.

At least for myself I found out that is easier to understand code that I had participated in even if only watching other person writing it.

But it depends on the tasks at hand. If there are busy things that just took time like configuring some service, better work separately.

But writing and even debugging complex code/problem most of the time is fast enough and some times even faster then working separately.

In Pair developers are more engaged into the problem, more focused which is more tiring.

Collapse
 
rfornal profile image
bob.ts

Excellent! Well said ...

Collapse
 
guneyozsan profile image
Guney Ozsan

Thank you. This provided a good insight.