》》》Function requirements
< ul>
》》implementation ideas
》》》Personal project reuse
This pair programming reflects the reusability of my teammates’ personal projects. I use java for personal projects, so it is more convenient to add UI and build the project when pairing, so I am mainly responsible for the SMS verification code function and UI interface for pair programming. As well as the implementation of each part of the interface, the teammate used C++ to write in her personal project, so she decided to reuse her part of the question and change it to java to realize the calculation function. In this process, we found that the switching between the two languages was The problem-producing algorithm is relatively weak in portability, but after repeated deliberations and revisions, it finally reached the “successful shore”.
“” “My gains
- Through this pairing project, I have learned more than once to learn how to encapsulate the code, as well as the variables and functions Standardized naming is extremely necessary in actual development, and these will directly affect the efficiency of reading code.
- When using eclipse to write the UI of a java project, you can directly select “Help”> “Eclipse Marketplace”> search for “WindowBuilder” plug-in installation in the eclipse toolbar, and use the .java file with the interface as WindowBuilder In this way, you can quickly adjust the position and size of the basic elements of the interface in the design window. Although the corresponding code is generated according to the default specification after adding new elements, it is also inconvenient for the actual design, but it is very helpful to complete the development task in a short time. From not knowing this plug-in to being more proficient and using it, it brings great convenience to the later interface adjustment of our pair programming and saves time.
- Although the database is not used to store user registration information, the .json file was touched during the writing process and used its feature of storing data in tuple format, which is more convenient for the selection and use of data when writing. To its convenience in processing data.
- Because there is no previous experience in implementing the SMS verification code function, it is necessary to know more about it and try more. If you encounter a problem, you will solve it. You will also gain unexpected experience and give yourself more thoughts.