Welcome to NESO Academy. In this lecture, we explore best practices for using identifiers in C++ programming.
userAge
).calculateTotal
).MAX_SPEED
).BankAccount
).my_utils
).double
should not be a variable name since it's a reserved keyword._MyClass
is not a good practice.amount
for a variable that stores a monetary value, not a
.employeeSalary
instead of employeeSalaryInDollarsForTaxCalculation
.Thank you for attending this session on best practices for using identifiers. See you in the next lecture!