Please describe some common naming conventions used in programming.
What are some common naming conventions used in programming? Anonymous User 1201 10 Dec 2019 Please describe some common naming conventions used in programming.
Pascal Case
The first character of all words is upper case & other characters are lower case.
Mainly used by classes and method name.
Camel Case
The first character of all words, except the first word, is upper case & other characters are lower case.
Mainly used by variables and method parameters.
Hungarian Notation
The word starts with lower case prefix and rest of the word is in Pascal case.
In this str represents string.
Snake Case
In snake case words are separated by underscore (_).
Kebab Case
In this case words are separated by hyphen (-).