143k views
0 votes
It is a course standard that you select meaningful identifiers (names) for all variables in your program.

a) True
b) False

1 Answer

4 votes

Final answer:

In programming, it is true that meaningful identifiers should be selected for variables to improve code readability and maintainability.

Step-by-step explanation:

When we talk about programming variables, the statement that you should select meaningful identifiers (names) for all variables in your program is true. Meaningful variable names make your code more readable and maintainable because they help other developers, including your future self, to understand what each variable represents without needing to trace through all the code. For example, a variable name like totalDistanceTravelled is more descriptive than a name like d. It instantly gives an idea about what the variable holds and its purpose within the program.

User Mknaf
by
7.4k points