Variable names are case-sensitive. A variable’s name can be any legal identifier — an unlimited-length letters and digits, beginning with a letter, the dollar sign “$”, or the underscore character ““. The convention, however, is to always begin your variable names with a letter, not “$” or ““. Additionally, the dollar sign character, by convention, is never used at all. Try to avoid the “$”, “_” because they are technically legal to begin your variable’s name with this is discourages could cause big headache when trying to debug. White space are not permitted.
Try an used variable names that are clear and easy to understand relating to the program. a bad example would be X, Y, and Z. something more useful would be CleanCoat, DirtyCoat, something that describes the variable name for easier maintenance in the feature and make your code read like a novel.
If the name you choose consists of only one word, spell that word in all lowercase letters. If it consists of more than one word, capitalize the first letter of each subsequent word.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More