encyclopegia.org

Snake case

, which uses snake case for identifiers Snake case (sometimes stylized autologically as snake_case) is the naming convention in which each space is replaced with an underscore (_) character, and words are written in all lower case.[src] It is a commonly used naming convention in computing, for example for variable and subroutine names, and for filenames.[src] One study has found that readers can recognize snake case values more quickly than camel case.[src] However, "subjects were trained mainly in the underscore style", so the possibility of bias cannot be eliminated.[src] A variation is screaming snake case, where words are written in all caps (stylized as SCREAMING_SNAKE_CASE).[src] This convention is used for constants in programming languages like C/C++, Python, Java, PHP, as well as for environment variables.[src]

, which uses snake case for identifiers Snake case (sometimes stylized autologically as snake_case) is the naming convention in which each space is replaced with an underscore (_) character, and words are written in all lower case.[src] It is a commonly used naming convention in computing, for example for variable and subroutine names, and for filenames.[src] One study has found that readers can recognize snake case values more quickly than camel case.[src] However, "subjects were trained mainly in the underscore style", so the possibility of bias cannot be eliminated.[src] A variation is screaming snake case, where words are written in all caps (stylized as SCREAMING_SNAKE_CASE).[src] This convention is used for constants in programming languages like C/C++, Python, Java, PHP, as well as for environment variables.[src] ==See also== Camel case, more common in Java and C# Kebab case, with hyphens instead of underscores, more common in COBOL and LISP Naming convention (programming) ==References== ==External links== Snake case converter[src]

13 sentences · 13 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Snake case." encyclopegia.org, 2026, https://encyclopegia.org/wiki/snake-case. Accessed 27 November 2026.

Chicago

"Snake case." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/snake-case.

APA

encyclopegia.org. (2026). Snake case. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/snake-case

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Best, worst and average case

stub · references available

smooth snake

stub · references available

Metal Gear Solid 3: Snake Eater

stub · references available

Aesculapian Snake

stub · references available

case sensitivity

stub · references available

snake oil

stub · references available

list of Cold Case episodes

stub · references available

Spatula-toothed Snake

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1365488693 · 0.5 · snapshot enwiki-001365488693

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.