Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

For the purposes of communicating coding styles to my co-workers, what would I formally call the following variants of camel case?

camelCase

and

CamelCase

Notice that the former version starts with a lower-case alphabetic character, and the latter version starts with an upper-case alphabetic character.

I assume these have some sort of "official name".

Also if there are any other forms I have not listed here, bonus points to those that mention them as well as well as their names.

share|improve this question
3  
Only the first one is called "camel case". The latter is called "pascal case" – greengit Apr 6 '12 at 15:58

2 Answers

up vote 4 down vote accepted

The first is Camel Case and the second is Pascal Case.

Capitalization Conventions at MSDN

share|improve this answer
I prefer the discussion version History around Pascal Casing and Camel Casing – Joshua Drake Apr 6 '12 at 16:02

I use the terms "lower camel case" and "upper camel case", but "Pascal Case" is also correct (or perhaps "more" correct, eh).

Refer here: http://c2.com/cgi/wiki?UpperCamelCase

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.