Case & Naming Conventions: camelCase to kebab
Different contexts use different casing: JS variables use camelCase (myVar), constants use UPPER_SNAKE, CSS classes use kebab-case (my-class), Python uses snake_case.
Common styles
- camelCase: first word lowercase, then capitalize
- snake_case: all lowercase, underscore-separated
- kebab-case: all lowercase, hyphen-separated
- PascalCase: every word capitalized
How to choose
Follow the language or platform's convention — team consistency matters more than personal preference.
💡 When renaming in bulk, a case converter handles a whole block at once, avoiding manual errors.