Advantages and disadvantages of pairing programming
In this development process, I and the crew to practice the completion of programming this programming mode, that is, two people at the same time on a computer programming.
I have practiced this pattern in other places before, and now I would like to talk about the pros and cons of this mode of cooperation and my understanding of it.
The benefit of pairing programming
- The big advantage is that two of people can combine two different ideas when writing code together, while one person can browse when they write, which can make the code more accurate.
- Two people write code together to try out new code styles and variable naming, as well as a unified code style and naming style
- No more merge between pull and push
- Ability to balance workload between team members
- Enhance the relationship between the team members
The disadvantages of pairing programming
- First pair programming Two people write a code at the same time, but the speed of writing will not be twice times faster, so that the results of lower development efficiency
- Differences in development habits between members cause conflict
- Not conducive to division of labor distribution
In combination with the above conditions, when developing something requires a framework design, or when it is necessary to write high-precision code, it is appropriate to use pair programming.
When the need for division of development, large-scale development of the time is not suitable for pairing programming.
On the realization and comprehension of pairing programming