The merits and demerits of pair programming

Source: Internet
Author: User

Pair programming project, optimize the four operation program.

My pairing programming partner is Baibin, and we've done some programming and progress this week, and I have some feelings for pairing programming.

I think pair programming has both advantages and disadvantages. The advantage lies in the program at the same time in the review, reduce the probability of error, improve the quality of code, the two partners can have a stronger ability to solve problems. For example, in our pair programming process, I write randomly generated negative sign in the program, an if statement less a parenthesis, so that the negative sign can not be generated correctly, it is baibin found this, so I corrected the error in time. If I am a person programming, I may have to spend several times to find this error, pair programming when my partner can find some of my mistakes, save a lot of debug time. And pair programming I feel that my programming efficiency is higher than when one is programmed. However, we have some problems in the programming process. Like the time. Pair programming to find us two people have free time, except class, we all have their own things, find a two people are free time programming is not particularly convenient, not to yourself when there is time to take out a computer to compile a meeting of the program. Also, everyone has their own code style, there are always some small differences in detail, such as "{" position, variable naming, etc., these small differences make us look at the other side of the programming when it feels very awkward, because accustomed to their own programming format. So in understanding each other's code always takes extra time, some problems can not be found in time. Plus the two of us sometimes disagree about some of the issues, some of which I think is important, he thinks it doesn't matter, and he thinks it's unreasonable I think so, these differences can also lead to the efficiency of our pair programming.

In general, the effect of our pair programming is not very ideal at present, should still be in the running-in phase, I believe we will cooperate better.

The merits and demerits of pair 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.