Home : Software Terms : PascalCase Definition

PascalCase

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

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

  • PascalCase: NewObject;
  • camelCase: newObject;
  • PascalCase: LongFunctionName()
  • camelCase: longFunctionName()

Both PascalCase and CamelCase help developers distinguish words within names. For example, "LongFunctionName" is more readable than "longfunctionname."

Font cases are rarely required in computer programming. Instead, they are mostly conventions used by programmers. For example, one developer may prefer to name variables with PascalCase, while another might use camelCase.

While the term "PascalCase" comes from software development, it may describe any compound word in which the first letter of each word is capitalized. Examples include the company "MasterCard," the video game "StarCraft," and of course, the website "TechTerms."

NOTE: PascalCase is identical to "UpperCamelCase," but most developers avoid this term to avoid confusion with camelCase. "PascalCase" may also be written "Pascal Case" (two words).

Updated: October 7, 2019

Cite this definition:

https://techterms.com/definition/pascalcase

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of PascalCase. It explains in computing terminology what PascalCase means and is one of many software terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this PascalCase definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!