Some developers are strict about naming conventions—for very good reason. We’re not going to suggest any specific sets of naming conventions here because different people have different ideas about what makes sense. It’s something you and your team should decide for yourselves.
That said, here are a few ideas:
Because short variable names can result in cryptic-looking code, you might require that every variable name consist of at least two words, with the first letter of each word in uppercase. So instead of variable names such as tot and fn, you would have names such as CurrentTotal and FirstName.
Many coders like to use the first letter of each variable’s name to suggest the type of information the variable will hold. For ...