7. What guidelines should you follow in creating names for variables and constants?
Uppercase for constants, variables may contain or exclusively use lowercase
The object should be named so that a human reading the code will understand its purpose
I can use underscores to separate words
I should not start a name with an underscore
Names should be relatively short (up to 10 characters)
No comments:
Post a Comment