ArticleslgStudy

science

Camel case

Camel case is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Camel case rather than just read about it. In short: Camel case (sometimes stylized autologically as camelCase or CamelCase, also known as camel caps or more formally as medial capitals) is a writing format practice of writing phrases with capitalized words lacking spaces or punctuation. The practice has various names and conventions.

Camel case — main illustration
Camel case — illustration

Key takeaways

  • Camel case belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Camel case to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Camel case from memory before moving on to harder problems.

Reference excerpt

Camel case (sometimes stylized autologically as camelCase or CamelCase, also known as camel caps or more formally as medial capitals) is a writing format practice of writing phrases with capitalized words lacking spaces or punctuation. The practice has various names and conventions. The earliest known occurrence of a term for this style, InterCaps, was on Usenet in April 1990. The use of medial capitals as a convention in the regular spelling of everyday texts is rare, but is used in some languages as a solution to particular problems which arise when two words or segments are combined. In the scholarly transliteration of languages written in other scripts, medial capitals are used in similar situations. Medial capitals are sometimes traditionally used in abbreviations to reflect the capitalization that the words would have when written out in full, and they have come into use in unpunctuated abbreviations of academic titles, such as PhD and BSc, which now often replace Ph.D. and B.Sc. The first systematic and widespread use of medial capitals for technical purposes was the notation for chemical formulas invented by the Swedish chemist Jacob Berzelius in 1813. Since the early 20th century, medial capitals have occasionally been used for corporate names and product trademarks. In the 1970s and 1980s, medial capitals were adopted as a standard or alternative naming convention for multi-word identifiers in several computer programming languages. The use of medial caps for compound identifiers is recommended by the coding style guidelines of many organizations and software projects. Camel case has been criticized as impairing readability, as it creates long compound words strewn with capital letters.

Description The writing format camel case is the practice of writing phrases without spaces or punctuation and with capitalized words. The first word starts with either case, then the following words have an initial uppercase letter. Common examples include YouTube, PowerPoint, HarperCollins, FedEx, iPhone, eBay, and LaGuardia. Camel case is often used as a naming convention in computer programming. It is also sometimes used in online usernames such as JohnSmith, and to make multi-word domain names more legible, for example in promoting EasyWidgetCompany.com. The more specific terms Pascal case and upper camel case refer to a joined phrase where the first letter of each word is capitalized, including the initial letter of the first word. Similarly, lower camel case (also known as dromedary case) requires an initial lowercase letter. Some people and organizations, notably Microsoft, use the term camel case only for lower camel case, designating the upper camel case separately as Pascal case. Some programming styles prefer camel case with the first letter capitalized, others not. For clarity, this article leaves the definition of camel case ambiguous with respect to capitalization of the first word, and uses the more specific terms when necessary. Camel case is distinct from several other styles: title case, which capitalizes all words but retains the spaces between them; Tall Man lettering, which uses capitals to emphasize the differences between similar-looking product names such as predniSONE and predniSOLONE; and snake case, which uses underscores interspersed with lowercase letters (sometimes with the first letter capitalized). A combination of snake and camel case (identifiers Written_Like_This) is recommended in the Ada 95 style guide.

Variations and synonyms The practice has various names, including:

History The earliest known occurrence of the term InterCaps on Usenet is in an April 1990 post to the group alt.folklore.computers by Avi Rappoport. The earliest use of the name "Camel Case" occurs in 1995, in a post by Newton Love. Love has since said, "With the advent of programming languages having these sorts of constructs, the humpiness of the style made me call it HumpyCase at first, before I settled on CamelCase. I had been calling it CamelCase for years. ... The citation above was just the first time I had used the name on USENET." The term "Pascal Case" was coined in design discussions for the .NET Framework, first released in 2002.

Traditional use in natural language

… excerpt ends here. Continue reading the full article.

Illustrations

Camel case: Camel case is named after the hump of its protruding capital letter, similar to the hump of common camels.
Camel case is named after the hump of its protruding capital letter, similar to the hump of common camels.

Worked examples

Example 1 — a first encounter with Camel case

Start with the simplest possible case. Write down what Camel case claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Camel case before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Camel case ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Camel case

In research
Camel case appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Camel case in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Camel case is common in secondary-school and first-year university syllabi. It links to neighbouring topics Capitalization, Metaphors referring to camels, Naming conventions, so understanding it makes those chapters shorter.
In everyday life
Look for Camel case outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Camel case” →

How to study Camel case in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Camel case means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Camel case out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Camel case in simple terms?

Camel case (sometimes stylized autologically as camelCase or CamelCase, also known as camel caps or more formally as medial capitals) is a writing format practice of writing phrases with capitalized words lacking spaces or punctuation. The practice has various names and conventions.

Why does Camel case matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Camel case?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Camel case.

Tags

  • Capitalization
  • Metaphors referring to camels
  • Naming conventions
  • Source code
  • Typography

Keep exploring