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 by Per C.

quizTest Your Knowledge

In computing, the word "platform" is often used synonymously with what?

A
Storage device
0%
B
Operating system
0%
C
System unit
0%
D
Application
0%
Correct! Incorrect!     View the Platform definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of PascalCase on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.