Pair programming - the topic with mathematics software UI little early high of

"" " Functional requirements

  • 1, user registration function. The user's phone number, click on the registration will receive a registration code, the user can use this registration code to complete the registration;
  • 2, after the completion of user registration, password prompt interface, user input password matches the password twice after the success. 6-10 password, the case must contain letters and numbers. Users can change the password, enter the correct password in the log in the original state, change your password after successfully re-enter the same new password twice;
  • 3, after the password has been set, jump to the selection interface, display interface elementary, middle and high school three options, the user clicks on one of them, prompting the user to enter the number of items need to be generated;
  • 4, the number of items the user input, generating a piece of paper (with a roll can not have the same title, all entitled multiple choice), the interface displays the first question and casual working four options, the user selects one of the four options submission interface displays the second question, ... until the last question;
  • 5, after the submission of the last question, the display interface, the score is calculated based on the percentage of correct answers;
  • 6, the user interface can opt out of the score or continue to do problems;
  • 7, small high math problem and asked to see the beginning of a personal project.

 

"" "Realization of ideas

 

"" "Personal reuse project

The pair programming my teammates and personal items reusability is reflected. Personal projects I use java, then set up the UI for adding and projects are more convenient when pair, so I am responsible for pair programming SMS verification code function, UI interface. And the realization of various parts of the interface, written in C ++ teammates in individual projects, and decided her topic and part reuse, and then changed to java achieve computing capabilities, this process, we find that switch between these two languages ​​in on the topic algorithm portability is weak, but after repeated scrutiny modifications eventually reach the "other side of success."

 

"" "I harvest

  • Standardization project, learn the code more than once felt the package, as well as variables and functions through this junction name in the actual development is extremely necessary, these will directly affect the efficiency of reading the code.
  • 使用eclipse编写java项目的UI时,可以直接在eclipse工具栏中选择“帮助” > “Eclipse Marketplace” > 搜索“WindowBuilder”插件安装,将带有界面的.java文件以WindowBuilder方式打开,这样在design窗口可快速调整界面基本元素的位置大小,虽然添加新元素后对应代码是按默认规范产生的,对实际设计也有不便,但是对短时间内完成开发的任务大有裨益,从不知此插件到较熟练掌握并运用,对我们结对编程的后期界面调整带来极大方便,节约时间。
  • 虽然没有利用数据库存储用户注册信息,但在编写过程中接触到.json文件,利用其以元组格式存储数据的特点,更加方便编写时对数据的挑选使用,深切体会到其处理数据的便捷。

  • 由于之前没有实现短信验证码功能的经验,所以多了解多尝试极有必要,每遇到一个问题再去解决,往往还会收获意料之外的经验,生发出自己更多思考。 

 

Guess you like

Origin www.cnblogs.com/XX19/p/11605040.html