What is the difference between StudlyCaps and CamelCase?

后端 未结 4 1100
悲&欢浪女
悲&欢浪女 2021-02-01 15:59

PSR suggests, method names MUST be declared in camelCase and class names MUST be declared in StudlyCaps.

4条回答
  •  面向向阳花
    2021-02-01 16:13

    i call it actually PascalCase when the identifier has two words each one begins with capital letters.. and i use it in C# for methods names, and camelCase for variablesNames, instanceFelds.. ClassNames also for PasaclCase..

提交回复
热议问题