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)
“Art, it seems to me, should simplify. That, indeed, is very nearly the whole of the higher artistic process; finding what conventions of form and what detail one can do without and yet preserve the spirit of the wholeso that all that one has suppressed and cut away is there to the readers consciousness as much as if it were in type on the page.”
—Willa Cather (18731947)