Monthly Archives: October 2024

Rules Conventions for Variable Names

Employ the rules/conventions below. -1 point  for violating these standards

Variable Name Rules

  • must begin with a letter or $ (Unless you’re using a language like PHP it should be a letter)

Variable Name Conventions

  • descriptive  ( moo  is not a good variable name to represent the number of days )
  • uses camelcase (unless it’s a static variable etc..)
  • camelcase

^^image from https://khalilstemmler.com/blogs/camel-case-snake-case-pascal-case/