The Naming Conventions you MUST Know when Coding
camelCase, PascalCase, snake_case and kebab case. What?
You might be aware that there are naming conventions in your chosen programming language.
Perhaps you should be aware of this: it helps to make your code readable and understandable. Plus will help you get through code reviews…
Difficulty: Beginner | Easy | Normal | Challenging
Prerequisites:
- None, but for practical purposes it would be useful to be able to produce a “Hello, World!” application in your chosen programming language
Terminology
Hyphen: The — character
Brochette-case: A naming convention where the name is formed of multiple words joined as a single word separated by _, but the first letter of each word is capitalized. The first letter is usually in upper case
Kebab case: A naming convention where the name is formed of multiple words joined as a single word separated by _, but the first letter of each word is capitalized. The first letter is usually in upper case
lowerCamelCase: A naming convention where the name is formed of multiple words joined as a single word, but the first letter of each word is capitalized…