/
Don't Use Unrelated Variable Names [VA1]
Don't Use Unrelated Variable Names [VA1]
Tip VA1
It’s possible to use longer variable names that are off-topic or unrelated to what the variables represent. Such names might be fun, but they muddy the waters in trying to get a reader to understand the code.
The following shows how unrelated variable names can be problematic and revised to be better:
, multiple selections available,
Related content
Include the Primary "What" in the Variable Name [VA4]
Include the Primary "What" in the Variable Name [VA4]
More like this
Double-Check Variable Name Accuracy [VA2]
Double-Check Variable Name Accuracy [VA2]
More like this
Make Names Specific Enough to Distinguish Between Similar Variables [VS6]
Make Names Specific Enough to Distinguish Between Similar Variables [VS6]
More like this
Avoid Overly Short Names [VS1]
Avoid Overly Short Names [VS1]
More like this
Fully Represent Multi-Part Values in Variables [VA7]
Fully Represent Multi-Part Values in Variables [VA7]
More like this
Avoid Overly Short Abbreviated Loop Index Names [VD1]
Avoid Overly Short Abbreviated Loop Index Names [VD1]
More like this