Case Conventions by Programming Language: A Complete Reference Guide
Which case style does each language use? Python, JavaScript, Go, Rust, Java, C# — naming conventions for variables, functions, classes, and constants.
Published:
Tags: text, developer-tools, programming
Naming Convention by Language: camelCase, snakecase, PascalCase Every programming language community has settled on conventions for naming identifiers — variables, functions, types, constants, and modules. While individual projects can override these, the community defaults matter: they affect how readable code is to other developers, how linters are configured, and what style guides recommend. This is the definitive reference table. -------|-----------|-----------|---------|-----------|---------------| | Python | snakecase | snakecase | PascalCase | CONSTANTCASE | snakecase | | JavaScript | camelCase | camelCase | PascalCase | CONSTANTCASE | kebab-case | | TypeScript | camelCase | camelCase | PascalCase | CONSTANTCASE | kebab-case | | Java | camelCase | camelCase | PascalCase |…
All articles · theproductguy.in