snake case

Hello, you have come here looking for the meaning of the word snake case. In DICTIOUS you will not only get to know all the dictionary meanings for the word snake case, but we will also tell you about its etymology, its characteristics and you will know how to say snake case in singular and plural. Everything you need to know about the word snake case you have here. The definition of the word snake case will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofsnake case, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
See also: snake_case

English

Examples
  • number_of_arguments
  • find_new_objects

Alternative forms

Etymology

Coined in 2004 by Ruby programmer Gavin Kistner, from its resemblance to the long body of a snake, and by analogy with other naming schemes based on lower- and upper-case letters.

Noun

snake case (uncountable)

  1. (programming) The practice of writing identifiers using underscores to separate words.
    • 2018, Camille McCue, Sarah Guthals, Helping Kids with Coding For Dummies®, John Wiley & Sons, Inc., →ISBN, page 130:
      Some evidence shows that coders are better able to read code (their code and code written by others) when using snake_case, not camelCase naming.
    • 2020, Jeanne Boyarsky, Scott Selikoff, OCP Oracle Certified Professional Java SE 11 Programmer I: Study Guide, Exam 1Z0-815, John Wiley & Sons, Inc., →ISBN, page 49:
      While both camelCase and snake_case are perfectly valid syntax in Java, the development community functions better when everyone adopts the same style convention.
    • 2020, Titus Winters, Tom Manshreck, Hyrum Wright, Software Engineering at Google: Lessons Learned from Programming Over Time, O’Reilly Media, Inc., →ISBN:
      We were incorporating third-party Python libraries for some of our projects, leading to a mix within our codebase of our own CamelCase format with the externally preferred snake_case style.

Coordinate terms

Derived terms

Further reading