Description: 1 coding norms. Class member functions member functions should be based on a complete description of the English name, function names are usually the first word is a verb. If openAccount, save for access to categories such as attribute member functions have the following naming convention: Getter: visit and return to class attributes. Named in order to get at the beginning, if the return value is a boolean, to is the beginning as getFirstName, isAtEnd and so on. boolean return value of another method is to use the name has, can, if hasDependents, canPrint etc. Setter: set the type attribute. Named at the beginning to set, such as setFirstName
To Search:
- [riqi] - from the simple definition of a category
File list (Check if you may need any files):
2009_DS_Experiment_编码规范.doc