Snake case
Snake case (or snake_case) is the process of writing compound words so that the words are separated with an underscore symbol (_) instead of a space. The first letter is usually changed to lowercase. Some examples of Snake case would be "foo_bar" or "hello_world". It is commonly used in computer code. At least one study found that readers can recognize snake case faster than CamelCase.[1]
Related pages
References
- "An Eye Tracking Study on camelCase and under_score Identifier Styles".
- "StackOverflow - What's the name for snake_case with dashes?".
- "Camel_SNAKE-kebab".
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.