What is the difference between Pascal Case and Camel Case?

sivaleela

New Member
In camel casing, names start with a lower case but each proper word in the name is capitalized and so are acronyms. For example, commonly used tokens in many languages such as toString, checkValidity, lineHeight, timestampToLocalDateTime, etc. are all examples of camel casing.

Pascal casing is similar to camel casing except that the first letter also starts with a capital letter (SomeClass instead of someClass).

  1. Camel Case (ex: someVar, someClass, somePackage.xyz).
  2. Pascal Case (ex: SomeVar, SomeClass, SomePackage.xyz).
 

hesitantlimbic

Active Member
In camel casing, names start with a lower case but each proper word in the name is capitalized and so are acronyms. For example, commonly used tokens in many languages such as toString, checkValidity, lineHeight, timestampToLocalDateTime, etc. are all examples of camel casing. run 3

Pascal casing is similar to camel casing except that the first letter also starts with a capital letter (SomeClass instead of someClass).

  1. Camel Case (ex: someVar, someClass, somePackage.xyz).
  2. Pascal Case (ex: SomeVar, SomeClass, SomePackage.xyz).
I can see a lot of useful information. Very interesting!
 

missscreen

Active Member
In camel casing, names begin with a lower case letter, but each proper word in the name as well as acronyms are capitalized. In addition, camel casing names do not contain spaces between words. slope game
 
Top