Changes between Version 10 and Version 11 of CodingStyle


Ignore:
Timestamp:
Jan 30, 2008, 2:40:22 PM (17 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Fixed camelCase vs PascalCase

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v10 v11  
    2323=== Generic Name Conventions ===
    2424
    25 Names representing packages must be in CamelCase. Whenever applicable, the package name will be prefixed with "FCKeditor.".
     25Names representing packages must be in PascalCase. Whenever applicable, the package name will be prefixed with "FCKeditor.".
    2626
    2727{{{
     
    2929}}}
    3030
    31 Names representing public classes and public global objects must be in CamelCase and prefixed with "FCK".
     31Names representing public classes and public global objects must be in PascalCase and prefixed with "FCK".
    3232
    3333{{{
     
    4141}}}
    4242
    43 Names representing public methods must be verbs and written in CamelCase.
     43Names representing public methods must be verbs and written in PascalCase.
    4444
    4545{{{
     
    4747}}}
    4848
    49 Names representing public properties must be nouns and written in CamelCase.
     49Names representing public properties must be nouns and written in PascalCase.
    5050
    5151{{{
     
    5353}}}
    5454
    55 Names representing private methods must be verbs and written in CamelCase prefixed with an underscore.
     55Names representing private methods must be verbs and written in PascalCase prefixed with an underscore.
    5656
    5757{{{
     
    5959}}}
    6060
    61 Names representing private properties must be nouns and written in CamelCase prefixed with an underscore.
     61Names representing private properties must be nouns and written in PascalCase prefixed with an underscore.
    6262
    6363{{{
     
    6565}}}
    6666
    67 Names representing private global function must be in CamelCase prefixed with an underscore.
     67Names representing private global function must be in PascalCase prefixed with an underscore.
    6868
    6969{{{
     
    233233Variables must be always defined with "var".
    234234
    235 Function parameters must be in pascalCase.
     235Function parameters must be in camelCase.
    236236
    237237{{{
     
    239239}}}
    240240
    241 Local variables must be in pascalCase.
     241Local variables must be in camelCase.
    242242
    243243{{{
     
    321321
    322322The 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 ----
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy