Changes between Version 1 and Version 2 of DolphinCodeConvention
- Timestamp:
- Aug 24, 2010, 6:38:08 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DolphinCodeConvention
v1 v2 6 6 All Class Names must begin with the prefix, and each word with a capital letter to avoid identical names and to make more unique classes written by the given developer. 7 7 8 Example: 8 '''Example:''' 9 9 10 10 {{{ … … 15 15 == Variable Declarations: Names == 16 16 Given no strict data classification in PHP, all Variable Names must begin with a lower case letter of the first character in the name of a particular data type prefix. 17 //Data type prefixes:// 17 '''Data type prefixes:''' 18 18 - i Integer 19 19 - f Float, Double … … 26 26 Following the first letter every word used in the Variable Name must begin with a capital letter. 27 27 28 Example:28 '''Example:''' 29 29 30 30 {{{