In software engineering, identifier naming conventions prevent naming collisions, define scope visibility, and communicate semantic intent. Because different programming ecosystems maintain rigid stylistic guidelines, refactoring between frontend TypeScript, backend Python, and SQL databases requires converting identifier casings frequently.
camelCase for variable and function names, PascalCase for classes and React components, kebab-case for CSS classes and package names, and CONSTANT_CASE for global constants.snake_case for functions and methods, PascalCase for classes, and UPPERCASE_WITH_UNDERSCORES for module-level constants.snake_case for functions, variables, and modules; UpperCamelCase for structs, enums, and traits; and SCREAMING_SNAKE_CASE for const and static values.snake_case is the undisputed standard for table and column names (e.g. created_at, order_items) to avoid case-sensitivity pitfalls across storage engines.A URL slug is the portion of a web address that identifies a particular page in human-readable keywords. According to Google Search Central best practices and RFC 3986:
a-z, 0-9).-). Google's search algorithms treat hyphens as word separators, whereas underscores can concatenate terms together.résumé becomes resume).?, &, !, @, #).