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 and functions etc. in source code and documentation.
Reasons for using a naming convention (as opposed to allowing programmers to choose any character sequence) include the following:
- to reduce the effort needed to read and understand source code;
- to enhance source code appearance (for example, by disallowing overly long names or unclear abbreviations).
The choice of naming conventions can be an enormously controversial issue, with partisans of each holding theirs to be the best and others to be inferior. Colloquially, this is said to be a matter of "religion". Many companies have also established their own set of conventions to best meet their interests.
Read more about Naming Convention (programming): Potential Benefits, Challenges, Business Value, Common Elements, Metadata and Hybrid Conventions
Famous quotes containing the words naming and/or convention:
“See, see where Christs blood streams in the firmament!
One drop would save my soulhalf a drop! ah, my Christ!
Ah, rend not my heart for naming of my Christ!
Yet will I call on him!O, spare me, Lucifer!
Where is it now? T is gone; and see where God
Stretcheth out his arm, and bends his ireful brows!
Mountains and hills, come, come and fall on me,
And hide me from the heavy wrath of God!”
—Christopher Marlowe (15641593)
“The metaphor of the king as the shepherd of his people goes back to ancient Egypt. Perhaps the use of this particular convention is due to the fact that, being stupid, affectionate, gregarious, and easily stampeded, the societies formed by sheep are most like human ones.”
—Northrop Frye (b. 1912)