Naming Conventions
Use of proper naming conventions is considered good practice. Sometimes programmers tend to use X1, Y1, etc. as variables and forget to replace them with meaningful ones, causing confusion.
In order to prevent this waste of time, it is usually considered good practice to use descriptive names in the code since we deal with real data.
Example: A variable for taking in weight as a parameter for a truck can be named TrkWeight or TruckWeight, with TruckWeight being the more preferable one, since it is instantly recognisable. See CamelCase naming of variables.
Read more about this topic: Best Coding Practices
Famous quotes containing the words naming and/or conventions:
“Husband,
who am I to reject the naming of foods
in a time of famine?”
—Anne Sexton (19281974)
“Languages exist by arbitrary institutions and conventions among peoples; words, as the dialecticians tell us, do not signify naturally, but at our pleasure.”
—François Rabelais (14941553)