Knowee
Questions
Features
Study Tools

Define the term: Naming convention[1]

Question

Define the term: Naming convention[1]

🧐 Not the exact question you are looking for?Go ask a question

Solution

A naming convention is a set of rules for choosing the character sequence to be used for identifiers which denote variables, types, functions, and other entities in source code and documentation.

Reasons for using a naming convention (as opposed to allowing programmers to choose any character sequence) include the following:

  1. To reduce the effort needed to read and understand source code.
  2. To enable code reviews to focus on more important issues than arguing over syntax and naming standards.
  3. To enable code quality review tools to focus their reporting mainly on significant issues other than syntax and style preferences.

The choice of naming conventions can be non-trivial because the chosen convention needs to be followed consistently throughout the code, and possibly also across different codebases, for the lifetime of those codebases.

This problem has been solved

Similar Questions

What are the terminologies that are commonly used throughout the entire rules?

what do you mean by nomenclature

What is Naming? A. The name of the object reference. B. The name of the binding activity of the object. C. Names of objects on the network activities D. All are correct

What is the convention in Python for naming a private variable in a class?Starting its name with an underscore ().Ending its name with an underscore ().Starting its name with two underscores ().Ending its name with two underscores ().

What are the variables prefixed with two underscores (_ _)(_ _) in classes called?

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.