Question: Explain why each of the following names does or does not seem like a good variable name to you. a. D b. Dsctamt c. DiscountAmount
Explain why each of the following names does or does not seem like a good variable name to you.
a. D
b. Dsctamt
c. DiscountAmount
d. Discount Amount
e. Discount
f. DiscountAmountForEachNewCustomer
g. DiscountYear2015
h. 2015 Discount year
Step by Step Solution
3.45 Rating (165 Votes )
There are 3 Steps involved in it
a D is too short and generic to be a good variable name b Dsctamt is too abbreviated to be a ... View full answer
Get step-by-step solutions from verified subject matter experts
