The third team work

A Code encoding rules and norms

  Code style principles: the spirit of "keeping simple, make the code easier to read" principle.

   A. Indents specification

      For readability of code indentation do not consider the Tab key, without Tab grounds key is Tab key will display different lengths in different situations , from just 4 spaces.

   II. Branch specification

      Do not multi-line statement on the same line, a statement on a single line.

   III. Naming Conventions

      1. The functions and uses named variables 

      2. The name should be meaningful, not arbitrary.

      3. The name does not appear in the space

      4. Try not to abbreviations (unless the word is too long).

    IV. Level specification

     1. Code hierarchical be clear, special attention such as <view> when the code label.

     2. The module layered clear.

    V. Notes Specification

     1. complex function header comments should put a lot of comments function header is the type of interpretation of the parameters, if the program has been able to explain the body type of the parameter in / out , etc., do not repeat! .

     2. The variables, constants, comments should be placed adjacent to its upper position or to the right.  

     3. Notes also with the modified program constantly updated, a misleading (Misleading ) interpretation is often worse than no comment .   

     4. Notes to moderate volume, the content of comments to make it clear, clear, precise meaning, to prevent ambiguity comment.

Two Database 

 No

Three .ER Fig.

Four . Function Process Description

  1. Authorized user interface. Whether to allow, if the user clicks allowed into the small first program interface.
  2. Enter the program, the user selects the desired recommendation, have breakfast, a main meal, cuisine recommended, also set a recommendation and recommend to revel generation Pig healthy food.
  3. Opening the appropriate recommendation interface, there will be a corresponding dishes, breakfast and lunch are divided into Chinese and Western, there are eight major cuisines cuisine, Pig recommended weight loss and fitness meal meal.
  4. Click on each of the vegetables will have its corresponding practice, you can give the user reference.    
  5.                  

 

V. team division and contribution

Student ID Name Division of work Contribution points
1,700,802,103 RUBBER Code encoding rules 10
1700802082 Li Guolan Function Module Description 10
1700802092 collar brother ER diagram 10


   

Guess you like

Origin www.cnblogs.com/mxqjxh/p/10960777.html