CamelCase Format

From GM-RKB
Jump to navigation Jump to search

A CamelCase Format is a orthographic naming convention that ...



References

2018

  • (Wikipedia, 2018) ⇒ https://en.wikipedia.org/wiki/Camel_case Retrieved:2018-11-13.
    • Camel case (stylized as camelCase; also known as camel caps or more formally as medial capitals) is the practice of writing compound words or phrases such that each word or abbreviation in the middle of the phrase begins with a capital letter, with no intervening spaces or punctuation. Common examples include “iPhone” and “eBay”. It is also sometimes used in online usernames such as "johnSmith", and to make multi-word domain names more legible, for example in advertisements.

      Camel case is often used for variable names in computer programming. Some programming styles prefer camel case with the first letter capitalised, others not. For clarity, this article calls the two alternatives upper camel case (initial uppercase letter, also known as Pascal case) and lower camel case (initial lowercase letter). Some people and organizations, notably Microsoft, use the term camel case only for lower camel case. Pascal case means only upper camel case.

      Camel case is distinct from Title Case, which capitalises all words but retains the spaces between them, and from Tall Man lettering, which uses capitals to emphasize the differences between similar-looking words such as "predniSONE" and "predniSOLONE". Camel case is also distinct from snake case, which uses underscores interspersed with lowercase letters (sometimes with the first letter capitalized). The combination of "upper camel case" and "snake case" is known as "Darwin case". Darwin case uses underscores between words with initial uppercase letters, as in "Sample_Type". It has no known conventional use in computer programming but is named after Charles Darwin because of the way it has "evolved" from more traditional conventions.