Member-only story
Case Styles: Camel, Pascal, Snake, and Kebab Case
The most popular ways to combine words into a single string

TLDR;
- camelCase
- PascalCase
- snake_case
- kebab-case
Removing spaces between words
In programming, we often remove the spaces between words because programs of different sorts reserve the space (‘ ’) character for special purposes. Because the space character is reserved, we cannot use it to represent a concept that we express in our human language with multiple words.
As an example, the concept of user login count is not referenced in our code as user login count
often. We do not do the following:
user login count = 5
A typical language parse would treat each word as a separate concept. User, login, and count would each be treated as separate things. So, we do something like the following:
userLoginCount = 5
Now, the parser will see one concept, userLoginCount
, and us programmers can easily see the representation.