Variable Naming
This lesson discusses some of the variable naming conventions which must be followed.
To close this chapter, let’s discuss variable naming. The computer doesn’t care about variable names. You could name your variables using the classic example of a single letter (a
, b
, c
…) or choose absurd names like burrito
or puppieskittens90210
.
Nonetheless, naming variables well can make your code much easier to read and interpret. Let’s have a look at these two examples:
Get hands-on with 1400+ tech skills courses.