On the realization and comprehension of pairing programming

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.