What is Pair programming?

Source: Internet
Author: User
Pair programming is a very simple and intuitive concept: the two programmers sit side by side in front of the same computer to complete the same design. The same algorithm, the same code, or the same group of tests are compared to the independent work of the two programmers. pair programming usually takes about half of the time to compile code with higher quality. However, collaboration between people is not a simple task-especially when people are used to working alone, implementing Pair programming technology will bring benefits to the development of software projects. these benefits can only be truly reflected through careful thinking and planning. On the other hand, two experienced people may find that there is no skill transfer in Pair programming, but asking them to solve the same problem at different abstraction levels will allow them to find a solution faster, and fewer errors.
Pair programming has the following advantages:
1. direct and continuous code review.
2. Work with others will increase responsibility and discipline.
3. understand a problem at the same time.
4. It is much harder to get lazy when someone is staring at it!
The two programmers have very little possibility of having the same disadvantages and blind spots, so we will get a powerful solution when we adopt Pair programming. This solution is precisely not available in other software engineering methodologies.
In our usual programming, if you encounter a very difficult problem (difficult to get bored with the project), you will certainly want to seek help, whether it's from an Internet network with a large amount of information or from the technical masters around you, you will fight for it (on the premise that you have a strong passion for computer knowledge ). In this case, you may want to use Pair programming. If you don't say anything else, you may feel different.

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.