Make Sure Word Order Sufficiently Differentiates Between Distinct Things [VO4]

Make Sure Word Order Sufficiently Differentiates Between Distinct Things [VO4]

Tip VO4

In contrast to a previous tip on consistent word ordering, you may have similar concepts in a block of code that would normally have similar names if sticking to strict word-ordering standards. If such similarly-named variables could easily get confused with each other, consider changing the word order to make one more distinct.

For example, while _count suffixes are typically less important and best at the end of names, moving that word to the front (ex. count_of_employees) could help with differentiation at times. If you need to do this, prefer tweaking the word ordering on the variable that would be considered less important or referenced less in the overall block of code.

Example:

Deep coding during work hours ad.png