Naming Conventions Guide for Developers & Writers
camelCase
Standard for JavaScript/TypeScript variables, functions, and object properties.
e.g. `getUserAccountBalance`
kebab-case
Industry standard for URL slugs, web routing, REST endpoints, and CSS classes.
e.g. `loan-calculator-tool`
snake_case
Primary convention for Python variables, SQL database columns, and config files.
e.g. `monthly_interest_rate`
PascalCase
Used for React component names, TypeScript types/interfaces, and C# classes.
e.g. `LoanCalculatorClient`
Step-by-Step String Transformation Example
Suppose you input the raw string "calculate monthly interest rate":
UPPERCASECALCULATE MONTHLY INTEREST RATE
camelCasecalculateMonthlyInterestRate
kebab-case (slug)calculate-monthly-interest-rate
snake_casecalculate_monthly_interest_rate
Frequently Asked Questions
Common questions and detailed answers regarding calculations and formulas.
camelCase is a naming convention where the first word is written in lowercase and every subsequent word starts with an uppercase letter, with no spaces or punctuation (e.g., `calculateMonthlyPayment`). It is widely used in JavaScript, TypeScript, and Java.