Examples
Programming Variable
Original:
user profile settingscamelCase:
userProfileSettingsPascalCase:
UserProfileSettingssnake_case:
user_profile_settingskebab-case:
user-profile-settingsArticle Title
Original:
the quick brown fox jumps over the lazy dogTitle Case:
The Quick Brown Fox Jumps Over The Lazy DogSentence case:
The quick brown fox jumps over the lazy dogUPPERCASE:
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOGAPI Endpoint
Original:
Get User Account Informationkebab-case:
get-user-account-informationsnake_case:
get_user_account_informationcamelCase:
getUserAccountInformationCase Convention Guide
Programming Conventions
camelCase
Variables, functions in JavaScript, Java
getUserName, calculateTotalPascalCase
Classes, components in most languages
UserProfile, DataProcessorsnake_case
Variables in Python, Ruby, database columns
user_name, total_amountkebab-case
URLs, CSS classes, file names
user-profile, main-contentWriting Conventions
Title Case
Headings, titles, proper nouns
The Art of Computer ProgrammingSentence case
Regular sentences, descriptions
This is a sentence case example.CONSTANT_CASE
Constants, environment variables
MAX_RETRY_COUNT, API_BASE_URLSpecial Cases
Alternative, inverse, random for creative use
aLtErNaTiNg TeXtPro Tip:
Different programming languages and frameworks have their own naming conventions. Always follow the style guide of your specific technology stack for consistency.