Different kind of casing to consider while naming variables, classes, files.
camelCase
Camel case (stylized as camelCase; also known as camel caps or more formally as medial capitals) is the practice of writing phrases such that each word or abbreviation in the middle of the phrase begins with a capital letter, with no intervening spaces or punctuation. Common examples include "iPhone" and "eBay". It is also sometimes used in online usernames such as "johnSmith", and to make multi-word domain names more legible, for example in advertisements.
PascalCase
This is also a very popular way to combine words to form a single concept. It is often used as a convention in declaring classes in many languages.
source: https://en.wiktionary.org/wiki/Pascal_case#English
Snake_Case
Snake case combines words by replacing each space with an underscore (_) and, in the all caps version, all letters are capitalized, as follows:
- snake_case
- Snake_Case
- SNAKE_CASE
Kebab-Case
In allusion to the appearance of a kebab, with various food items assembled on a skewer.source: https://en.wiktionary.org/wiki/kebab_case#English
Comments