Team - Yao Luo squad

Our Team

Captain: Hong Shui
players: Wang Huan, Zhang Na, of Sun Wei, Wei Jia Xin, ZHANG Chun-lei, HER Wang, Li Cheng Yu, pay is printed

Team photo

Team photo

Code Specification

Code style guide

  • Indent: four spaces.
  • Parenthesis: complex conditional expressions in parentheses shows clearly the priority.
// 通过 括号说明 优先级
if(a && (b || c) && d){
    // 执行语句
}
  • {}Use: {with at the end of the statement.
if(conditon){
    // 执行语句
}

//而不是 下面
if(condition)
{
    // 执行语句
}
  • Line breaks and blank {}lines: Different statements need to wrap, conditional statements and loops in a single-line statement also need to write {}within. Such as:
if(condition){
    // 单条 语句 也使用 {}
    DoSomething();
}else{
    DoSomething();
}
  • Branch: each statement per line, do not put multiple statements on a single line.
int variableA,variableB; // 不采用多个变量声明写在一行
// 把多个变量声明 分开写
int variableA;
int variableB;
  • Name: The hump nomenclature. Are in English, see the name to know Italian.
  • Variable: a small hump named after the first word beginning with a lowercase letter; capitalize the first letter or the first letter of each word of the second word are uppercase letters.
int variableA = 0;
boolean isVariable = false;
  • Package name: using all lowercase.
package com.xxxx.xxx
  • Class, interface: using a large hump name, the name of the first letter of each word is capitalized.
public class TestClass{
    // 一些 属性 和 方法
}

interface TestInterface{
    // 一些方法
}
  • Constants: Constants all capital letters, separated by underscores.
const MAX_COUNT = 10;
  • Method name: A small hump named at the beginning of the use of the verb.
public int getResult(){
    // 详细内容省略
    return 1;
}

public void setResult(int variable){
    // 详细内容省略
}
  • Comments: Comments are written in ASCII characters in the function head, complex notes. For complex logic required by the comment, stated meaning.
// Single-Line Comments

/*
multiline comment
*/

/**
Documentation Comments
*/

Code design specifications

  • A function only need to complete a function. See name known meaning.
  • Function should be classified according to function.
  • Expected abnormalities, abnormal expected to get the information by capturing the abnormal abnormal;
  • Data can be taken in the program to fetch from the program. Without customer input (reduce customer input). Such as customer number and other information.
  • If there is an input parameter to minimize the number of input parameters (4 -> 0);
  • The authentication parameters (input parameters to achieve the accuracy as much as possible);
  • url all lowercase.
  • Do not do too much complex operations in the constructor, you can simply initialize the data members.
  • Common portion should be extracted, should not be repeated.

Team mode

Feature Team mode

advantage

Everyone's equal in status could be discussed, if the problem can be quickly solved, new ideas can be quickly implemented, serious errors can also quickly find the person in charge, can be more free to speak to other people's comments.

Shortcoming

Too loose, the efficiency may be lower, they could not progress forward, delayed project delivery date

Bureaucratic model

advantage

Strict management, if managed well, everyone carry out their duties, by the leadership of the leadership, everyone needs to decide what to do, when complete, may have a higher efficiency.

Shortcoming

But know what to do when problems may occur if the phenomenon of passing the buck, these problems need to make the appropriate measures in advance to prevent, rather than a problem occurs.

Project Selection

Canteen management system

With the continuous expansion of the size of school college, university logistics management are becoming increasingly complex, many large universities have multiple campuses, there are dozens or even dozens of students and faculty canteen, canteen these geographically dispersed, to achieve a unified coordination management, will have the help of modern management model - network management model. As the current school have been expanding, increasing the number of students, the students also doubled the amount of information, canteen management has become an important part of the management of the school. Given the large amount of information, how to effectively improve the efficiency of the management of the school canteen urgent problem. This will not only improve efficiency, but also to avoid the trouble of manual work before, so that managers can accurately and effectively manage restaurants.
Canteen management system uses advanced computer technology and cloud computing, can fine control the whole process of purchase and supply logistics, canteens help achieve information management. The project is divided into eight functional modules: canteen management, warehouse management, purchasing management, recipe management, document tracking, purchase information, supervisory functions, search functions. The above functions can be dynamically feedback scientific management business to live, improve management efficiency between the various departments, and thus enhance the effectiveness of the cafeteria.

Tourist traffic information system

With the improvement of people's living standards, more and more people like to travel, but for the first time to a strange city, on bus lines, tourist attractions are not familiar with, it certainly needs to be able to view a specific bus lines, tourist attractions, transportation tourist information inquiry system. Some users only know a few sites of a line or a certain number of trips or digital content is a rough spots, so the system recommended by the attractions, travel routes, specific list of city bus, user-friendly query, understand Attractions information. In this system, the user can check the lines and sites in the city, for details of each line or site. Users can also access this site through links government website for information on government policies, may also leave a message for the relevant government departments, put forward some of their own opinion on the urban construction.

Guess you like

Origin www.cnblogs.com/yaoluoxiaodui/p/11794456.html