Naming convention (programming) in the context of Subroutine


Naming convention (programming) in the context of Subroutine

Naming convention (programming) Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Naming convention (programming) in the context of "Subroutine"


⭐ Core Definition: Naming convention (programming)

In computer programming, 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:

↓ Menu
HINT:

In this Dossier

Naming convention (programming) in the context of Readability

Readability is the ease with which a reader can understand a written text. The concept exists in both natural language and programming languages though in different forms. In natural language, the readability of text depends on its content (the complexity of its vocabulary and syntax) and its presentation (such as typographic aspects that affect legibility, like font size, line height, character spacing, and line length). In programming, things such as programmer comments, choice of loop structure, and choice of names can determine the ease with which humans can read computer program code.

Higher readability in a text eases reading effort and speed for the general population of readers. For those who do not have high reading comprehension, readability is necessary for understanding and applying a given text. Techniques to simplify readability are essential to communicate a set of information to the intended audience.

View the full Wikipedia page for Readability
↑ Return to Menu

Naming convention (programming) in the context of Programming style

Programming style, also known as coding style, are the conventions and patterns used in writing source code, resulting in a consistent and readable codebase. These conventions often encompass aspects such as indentation, naming conventions, capitalization, and comments. Consistent programming style is generally considered beneficial for code readability and maintainability, particularly in collaborative environments.

Maintaining a consistent style across a codebase can improve readability and ease of software maintenance. It allows developers to quickly understand code written by others and reduces the likelihood of errors during modifications. Adhering to standardized coding guidelines ensures that teams follow a uniform approach, making the codebase easier to manage and scale. Many organizations and open-source projects adopt specific coding standards to facilitate collaboration and reduce cognitive load.

View the full Wikipedia page for Programming style
↑ Return to Menu