austinmiller3030
03.03.2022 •
History
Was everyone enthusiastic about Williams goal ?How do you know ?
Solved
Show answers
More tips
- F Family and Home When and how to start introducing solid foods to your baby?...
- C Computers and Internet Keep Your Mouse Pad Clean: The Right Way to Clean It?...
- F Food and Cooking Homemade French Fries: The Ultimate Guide...
- F Food and Cooking Red Caviar: How to Choose the Best?...
- C Computers and Internet Clearing Cache: How to Speed Up Your Browser...
- S Style and Beauty How are artificial nails removed?...
- S Style and Beauty Secrets of Tying a Pareo: 5 Ways...
- F Food and Cooking Everything You Need to Know About Pasta...
Answers on questions: History
- H History Step 2 Answer the following reflection question in at least one well-developed paragraph. 3. Do you think the three monotheistic religions (Judaism, Christianity, and...
- H History What is notable about the bay of pigs invasion? a. it resulted in nafta. b. it ended the cuban missile crisis. c. it is how fidel castro came into power in cuba. d....
- H History Why did alvar nunez de vaca explore?...
- H History The europeans introduced the japanese to: humanism christianity gunpowder muskets and cannons...
- H History Jean tinguely s homage to new york, a mechanized assemblage of discarded junk, was influenced by:...
- H History Why does nieterkob s most likely tell the myth...
- H History What was the pri, and what was its impact on mexico?...
- H History what other benefits do the geographic features of the region shown in the image provide to the Greeks?...
- H History Europe experienced numerous geographic changes during the 20th century. Major events such as World War I, World War II, and the Cold War produced enough upheaval to...
- H History Which law put a tax on every piece of printed paper in the colonies? Printing Tax Stamp Act Townsend Act Magna Carta...
Ответ:
a. stateTaxRate - A good variable name because it represents what it holds, the state sales tax rate, without being too wordy. Also correctly capitalized in camelcase.
b. txRt - A bad variable name because while short and simple, it is too hard to understand what the variable represents.
c. t - A very bad variable name if you plan on using the variable often. Far too short and you will forget what it represents and is needed for.
d. stateSalesTaxRateValue - A bad variable name because it is just too wordy. Cutting it down to A's variable name is much more reasonable
e. state tax rate - A bad variable name and probably invalid because it has spaces in the name.
f. taxRate - A good variable name if there are no other tax calculations other than state tax rate. Otherwise you would confuse state vs local tax rate or something, making it a bad variable name.
g. 1TaxRate - A bad variable name because the number 1 has no reason being in the variable name. It doesn't add anything to the name.
h. moneyCharged - A bad variable name because it is not specific enough in explaining why the money is being charged and what for.