Thursday 20 October 2016

variable naming standards

variable naming standards 

  1. variable name should be noun.
  2. It represents values.
  3. If variable name contains one word then first letter starts with lower case letter.
  4. If variable name contains more than one word then first letter starts with lower case letter, remaining words starts with upper case letter.
    1. Tip : Should not give space between the words while naming to variable.
Examples :
User defined variable names:
    • id
    • accountNumber
Thanks for your time.
Nireekshan