Earn $25 CASH per qualified ChartSnap Founder referral Β· Unlimited referrals Β· No purchase required β€” Join the Affiliate Program β†’

Glossary

Camel Case

A naming convention where compound words are written without spaces, with each new word capitalized.

Definition

Camel case is a naming convention in which multiple words are written together without spaces, with each word (except sometimes the first) starting with a capital letter. 'Lower camel case' starts with a lowercase letter: myVariableName. 'Upper camel case' (also called PascalCase) starts with an uppercase letter: MyClassName.

Why It Matters

Camel case is the dominant naming convention in programming for variables, functions, and methods in languages like JavaScript, Java, and Swift. For technical writers, understanding camel case is essential for accurately documenting APIs and codebases.

Examples

Lower camel casegetUserName, calculateTotalPrice, isValidEmail
Upper camel case / Pascal caseUserProfile, ShoppingCart, RequestHandler
Brand namesiPhone, eBay, YouTube β€” brands often use camel case stylistically

Common Mistakes

Confusing camel case with title case.
Using camel case in URLs β€” search engines prefer lowercase-with-hyphens.
Mixing camel case and snake_case inconsistently.
Forgetting that camel case is language-specific.

Related Tools

Related Terms

We use cookies to keep the site free and understand which tools are most used. See our Privacy Policy.