Coding Convention

How to create a variable name

1. Camel case = the first letter of each word ( yourName )

2. Pascal Case = all words first letter ( YourName )

3. Snake case = underbar between words and all lowercase words ( your_name )

4. Hungarian notation = Record data type before variable name (strName, intNumber)

Last updated

Was this helpful?