Changes between Version 10 and Version 11 of CodingStyle
- Timestamp:
- Jan 30, 2008, 2:40:22 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v10 v11 23 23 === Generic Name Conventions === 24 24 25 Names representing packages must be in CamelCase. Whenever applicable, the package name will be prefixed with "FCKeditor.".25 Names representing packages must be in PascalCase. Whenever applicable, the package name will be prefixed with "FCKeditor.". 26 26 27 27 {{{ … … 29 29 }}} 30 30 31 Names representing public classes and public global objects must be in CamelCase and prefixed with "FCK".31 Names representing public classes and public global objects must be in PascalCase and prefixed with "FCK". 32 32 33 33 {{{ … … 41 41 }}} 42 42 43 Names representing public methods must be verbs and written in CamelCase.43 Names representing public methods must be verbs and written in PascalCase. 44 44 45 45 {{{ … … 47 47 }}} 48 48 49 Names representing public properties must be nouns and written in CamelCase.49 Names representing public properties must be nouns and written in PascalCase. 50 50 51 51 {{{ … … 53 53 }}} 54 54 55 Names representing private methods must be verbs and written in CamelCase prefixed with an underscore.55 Names representing private methods must be verbs and written in PascalCase prefixed with an underscore. 56 56 57 57 {{{ … … 59 59 }}} 60 60 61 Names representing private properties must be nouns and written in CamelCase prefixed with an underscore.61 Names representing private properties must be nouns and written in PascalCase prefixed with an underscore. 62 62 63 63 {{{ … … 65 65 }}} 66 66 67 Names representing private global function must be in CamelCase prefixed with an underscore.67 Names representing private global function must be in PascalCase prefixed with an underscore. 68 68 69 69 {{{ … … 233 233 Variables must be always defined with "var". 234 234 235 Function parameters must be in pascalCase.235 Function parameters must be in camelCase. 236 236 237 237 {{{ … … 239 239 }}} 240 240 241 Local variables must be in pascalCase.241 Local variables must be in camelCase. 242 242 243 243 {{{ … … 321 321 322 322 The SVN is a good place to understand user participation. Even when committing changes proposed by Joe White, it is nice to add a comment like "Thanks to Joe White." in the commit message. 323 324 ----