Tuesday 30 September 2014

Naming convention (programming)

From Wikipedia, the free encyclopedia

In computer programming, a naming convention is a set of rules for choosing the character sequence to be used foridentifiers 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:
  • to reduce the effort needed to read and understand source code;[1]
  • 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 dogma.[2] Many companies have also established their own set of conventions to best meet their interests.

No comments:

Post a Comment

Wildern Pupils if you log onto your school email account you can leave a comment via that ID.