The second blog jobs - the first stage of pair programming

 

 

 

Stage requirements

1) Access to relevant information to deepen understanding of agile development and pair programming;
2) team situation, the team blog address, github repository address selected topics;
3) for the subject of access to information, understanding of the subject;
4) after the two men to discuss the use of technology development platform and tools;
5) recorded two discussed;

 

An understanding of the pair programming

First of all, what is pair programming it, according to the definition of Baidu Encyclopedia, pair programming refers to the two committees sitting in the same programmers to develop software to work the stage, compared with two programmers work independently, pair programming can write higher quality code. Colorectal detailed understanding of programming I think we can have the following:

(1) Cooperation

    Cooperation is never a simple matter, but cooperation can make things more diverse, more integrated, the same, everyone must share the work, but also can greatly enhance productivity.

(2) the level of thinking

    Two people think the level will be different, they may not have obvious performance on the improvement in technology, but they solve the same problem at different levels of abstraction make them faster to find a solution, and fewer errors .

(3) enhance the ability of the team

    Development, always a team thing, how good a person to complete? The power of individuals, is always limited, we need to exercise their teamwork skills, as we often encounter difficulties in programming, how will we do it? Mostly from the Internet, seek help large cattle, or their own research other people's code, right? Why not try pair programming? Trust your teammates, he will give you a lot of new ideas.

    I carry on taking programming with my teammates, we according to the teacher's questions, the use of c ++ / c, Java language written a small program for the completion of a fun game, we get a good harvest, when I was in programming , there are some minor problems have been corrected her, I thought at some point in the not very good, my teammates gave me a good idea.

Second, the case team

Name Student ID blog address

Li Tao Li https://home.cnblogs.com/u/Torryli/

Wang Yi 3170701206 https://www.cnblogs.com/wendy980514/

Selected topics: Game of Life

Warehouse Address: https: //github.com/Wendy980514/torry-wendy-arithmetic.git

Third, the task of understanding and description

Game of Life is a British mathematician John Horton Conway in 1970, cellular automata invention, which includes a two-dimensional rectangular world, a world in which each square is home to a living cell or dead. A cell next time or the number of dead cells in the eight squares adjacent living life depends. If an excessive number of cells in adjacent squares alive, the cells because of lack of resources and the next moment to die; the contrary, if the surroundings of a living cell is too small, the cells died due to too lonely. In a game similar to Go chessboard, the two-dimensional square grid can be infinitely extended in. For example, suppose want each box can be placed in a living cell, cell lives only two states: "Health" or "dead." Drawing, black squares represent the cell is "dead", the color represented by the other cell is "green." When the game starts, each cell may be randomly (or reference ground) is set to a state "green" or "dead" one, then the next state of each cell is calculated again according to the law of survival following:

● state of each cell is determined by a state of the 108 cells and the surrounding cells;

● If there are three cells around a cell for a living, the living cell, that cell if the original is dead would be transformed into life, if the original living remains unchanged;

● If two cells around a living cell, the state of the cell death remains unchanged;

● In other cases, the cells are dead, that is, if the cell is converted to the original living dead, if the dead original remains unchanged.

Fourth, the development of language and development platform

C / C ++ and JAVA, Microsoft Visual C ++ 6.0 and eclipse.

Fifth, the discussion and record

The two of us are very poor ability of each experiment course we are all overwhelmed by the last group of the most complete. The two of us have formed a team, two heads are better than Zhuge Liang, although the process of ups and downs but the outcome still perfect.

We first made on the development of language discussion, my first choice is python language, because language is concise and easy to understand python, and is a language I'm most interested in, but then write code that stage I realized that my knowledge of the language python sure enough, learn while too difficult for me to write a waste of time, and finally gave up the python language, and even separate individuals, each a complete code. After the completion of the code we found two development languages ​​and platforms are not the same, but this does not affect, so we'll just go on. Then began wondering how the code into the warehouse to go inside. github full English for us is really a headache, while looking at the computer, while also using a mobile phone at any time of the unfamiliar word translation. Live up to the expectations of us, and finally completed the experiment is only the first stage.

 Summary and Reflections

Pair programming is a collaboration of two people or a group, certainly larger than 2 1 + 1, we have two clear division of labor, teamwork, more complete efficiency. Two people have problems put forward their ideas to be discussed and eventually get better solution.

Guess you like

Origin www.cnblogs.com/wendy980514/p/12545456.html