A good variable name is any word that is suitable for what ever the project is.
For example if your are making a track recording program, it would be suitable to name the variable lapTime.
While you can name your variable almost everything, you cannot name a variable after a function. E.G : print.
Useful webpage: http://en.wikipedia.org/wiki/Variable_(computer_science)
No comments:
Post a Comment