Pascal Case

Words created by concatenating capitalized words. An example is this page's title, PascalCase.

Sometimes called "UpperCamelCase".

Distinguished from CamelCase by the restriction that the first letter must be upper case. ("camelCase" isn't PascalCase, but "PascalCase" is.)

WikiCase is more restrictive than PascalCase: WikiCase does not allow 1-letter words, but PascalCase does. ("ReadARecord" is PascalCase but not WikiCase.)


In 30 years I never heard it called "PascalCase" before, and I can't see that it truly had anything to do with Pascal. Is this merely what it's called in the Microsoft world?

See InAllMyYearsIveNever


Considering Microsoft's C# standard is PascalCase, that's what most of the Microsoft guys will call it. Besides, "upper CamelCase" is dumb. We already have PascalCase and CamelCase, one for classes and methods, and one for variables.

Do you really think "upper CamelCase" is dumb, exactly? I think it's clear.


History around Pascal Casing and Camel Casing (from: Brad Abrams - http://blogs.msdn.com/brada/archive/2004/02/03/67024.aspx )

In the initial design of the Framework we had hundreds of hours of debate about naming style. To facilitate these debates we coined a number of terms. With Anders Heilsberg (the original designer of Turbo Pascal) a key member of the design team, it is no wonder that we chose the term Pascal Casing for the casing style popularized by the Pascal programming language.

poster's note: I remember when "Pascal" was "new", UCSD Pascal the "std" Pascal (especially for Apple II computers) and p-code was a "machine/OS independent" "standard" and a "salvation" over that BASIC stuff from Microsoft ...
 what goes around ... comes around ... (there perhaps are no new ideas ... just new packaging)


See CapitalizationRules

EditText of this page (last edited August 17, 2007)
FindPage by searching (or browse LikePages or take a VisualTour)