Naming Convention

What Does Naming Convention Mean?

Naming conventions are general rules applied when creating text scripts for software programming. They have many different purposes, such as adding clarity and uniformity to scripts, readability for third-party applications, and functionality in certain languages and applications. They range from capitalization and punctuation to adding symbols and identifiers to signify certain functions.


Techopedia Explains Naming Convention

A naming convention can include capitalizing an entire word to denote a constant or static variable (which is commonly done in Flash programming), or it could be a simple character limit in a coding language (such as SQL). Naming conventions have functional as well as organizational qualities. Some scripting languages, for example, nullify character groups that are preceded by a number sign (or hashtag). Coders often use that in order to write notes into their scripts that do not interrupt the encoding, or create temporary placeholders for hypothetical pieces of code.

Often, the uniformity of naming conventions is useful not only for visual scanning, but also for searching scripts with text editors. Word processing programs are often equipped with tools that can filter, highlight and edit pieces of a document that have certain qualities (such as an underscore prefix), which makes it easy to make extensive edits over a long and complicated script that includes conventional names.


Related Terms

Latest Privacy and Compliance Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…