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