Summary of Pairing programming

Source: Internet
Author: User

1. Photos of my partner and I in the programming process

2. Understanding of the topic.

Elevator Dispatch

Existing new office building, a total of 21 floors, a total of four elevators, all elevators basic parameters are shown in the following table:

Elevator number

Service Floors available

Maximum number of passengers

Maximum Load weight

1

All floors

10

Approx.

2

Single layer

10

Approx.

3

Double

20

Approx.

4

All floors

20

Kg

The terms of use are as follows:

1, the floor number is 0~20, of which No. 0 is the basement layer;

2. Elevators with floor restrictions are not docked in the response floor, such as a single double layer;

3, all elevators with unified button control

Please design and implement an elevator control program according to the above requirements, if there is a graphical display is better.

This topic is the elevator dispatch, a total of 4 elevators, programming million to complete the control of 4 elevators. After our research, we are this division of labor, he is responsible for the preparation of 1, 2 layers of the program, I am responsible for writing 3, 4 layers of the program, so that we can both division of labor, but also in the code of others to be promoted, so that the results of the pairing program to maximize.

3. The process of pairing programming

Now the C language also forget about, this pair of programming let me re-review the C language, feeling very deep. Before all myself in the programming, thinking, this pair of programming let me experience the importance of teamwork, I am and Mo Haozhong a group, he is the C language of the great God, this time I was hugging her thigh, haha. He first wrote the program, and then I wrote the 3, 4-tier program according to him. He wrote the program is very good, the comment code is very good, and his cooperation really felt the feeling of the big God thigh, his understanding of C language is particularly profound, I followed him successfully completed the program.

4. Understanding and feeling of pairing programming

I and Mo Haozhong also is the first cooperation, first of all to thank Mo Haozhong programming, feel with him programming is a very happy thing, his understanding of C language, but also let me deeply touched. The two of us have completed this joint mission. The elevator scheduler, although this is our first cooperation, but in this form let us understand the common problem and the treatment of different things to exchange different research talk about the same opinion, so that whether we cooperate later or cooperate with others, This time has a special meaning for all of us. In the amount of co-operation we send, if we think alone, the understanding of a problem is always one-sided, and by way of cooperation, our view on a problem has been raised to a high level, and a person to see a problem completely different. This provides a variety of ideas about how we can solve future thinking problems. In this cooperation, the benefits are quite abundant!!!

Summary 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.