Added naming rule 2

This commit is contained in:
Barry Kane 2023-02-10 23:33:36 +00:00
parent 52fd7ef6fb
commit feb1743425
1 changed files with 6 additions and 0 deletions

View File

@ -82,4 +82,10 @@ should consider if it would be better to break mathematical convention for
clarity inside the program, such as when the variable names are the first letter clarity inside the program, such as when the variable names are the first letter
of a word or the mathematical notation uses many similar looking variables. of a word or the mathematical notation uses many similar looking variables.
**** Rule 2: Prefer to use full words in variable and function names:
You should always prefer to use full words in variable and function names. It
makes the source code much easier to read, like a sentence. Ideally, if you want
to shorten the name, use synonyms or rephrasing before you resort to removing
letters.
*** Comments: *** Comments: