DEV Community

Sok HS
Sok HS

Posted on

PascalCase

PascalCase

PascalCase is a naming convention in which the first letter of each word in a compound word is capitalized. Software Developer often use PascalCase when writing source code to name functions, classes, etc...

PascalCase is similar to camelCase, except the first letter in PascalCase is always capitalized. Below are some examples.

PascalCase:

NewObject;
NewFunction();
Enter fullscreen mode Exit fullscreen mode

CamelCase:

newObject;
newFunction();
Enter fullscreen mode Exit fullscreen mode

Top comments (0)