Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
I dont think MM need to change anything, as this is standard across most programming languages. If you think of Dreams as an entry level program for wannabe developers it is a good idea to encourage best practice. In most programming languages case sensitivity is an important factor when naming functions and variables as computers recognise letters by number codes and an a and an A are different numbers. It is always good practice to keep things consistent when programming. You can follow different conventions such as:
Snakecase = variable_one , variable_two Everything is lower case - words separated with an underscore
PascalCase = VariableOne, VariableTwo First letter of each word is always capitalised
Camelcase = variableOne, variableTwo First letter of every word is capitalised except the first one
other options are all CAPITALISED , hyphens (variable-one)
Stick with one case type throughout and you will never have issues with case sensitivity. Your variables and naming should be consistent.
Using numbers within variable names is not generally recommended because there could be confusion between names and values. So use variableOne and not variable1 . Better still uses names that will help you identify what it is used for such as variable_eyecolor rather than variable_one