CamelCase 

CamelCase is the term used to refer to the convention of joining several words together to form a single name. Medial capitals (capital letters in the middle of a word) are used so that each word can be clearly distinguished and the name easily read. There are two types of CamelCase: in UpperCamelCase the first letter of the name is capitalised; in lowerCamelCase it is lowercased. It has been used for centuries in the spelling of certain names.

Exemple correcte Don MacLean
Exemple correcte Paul McCartney
Exemple correcte Meindert DeJong


In the 19th century, it was used for the purpose of chemical notation.

Exemple correcte CaBr2
Exemple correcte Ac2O3
Exemple correcte Li2O


Subsequently, in the 20th century, it was used by computer programmers who needed to create terms without leaving spaces between words.

Exemple correcte EndOfFile
Exemple correcte ErrorLevel


At the end of the 20th century it spread from the world of computer programming and it is now in general use, particularly for corporate trade names. Some examples are:

Exemple correcte MasterCard
Exemple correcte Microsoft PowerPoint
Exemple correcte HarperCollins

Exemple correcte iPad
Exemple correcte iPhone
Exemple correcte PlayStation


In the world of academia, CamelCase is often used in the abbreviations of academic qualifications.

Exemple correcte BSc
Exemple correcte MSc
Exemple correcte PhD
Darrera actualització: 14-11-2017
Impressió del capítol | Impressió de la pàgina
Recommended citation:
«CamelCase» [en línia]. A: Criteris de la Universitat de Barcelona (CUB). Style Guide. Barcelona: Universitat de Barcelona. Serveis Lingüístics. <https://www.ub.edu/cub/criteri.php?id=3005> [consulta: 7 maig 2021].