CSC/ECE 517 Summer 2008/wiki2 2 rapodraz

From Expertiza_Wiki
Revision as of 17:26, 23 June 2008 by Rapodraz (talk | contribs)
Jump to navigation Jump to search

Variable Naming in Programming

Almost all programming languages allow the programmer a great deal of freedom when naming variables in a program's source code. It may seem like this is an obvious advantage, as it gives the programmer a great deal of flexibility. However, this level of freedom may incorrectly reflect the notion that variable naming is unimportant. Since variable identifiers can be named in many different ways, they often are, and the result is a high degree of inconsistency that can be problematic for code readability and maintenance.

Naming Conventions

In most context, the term "naming conventions" refers to a set of rules used to name variables that deal with things like capitalization, use of underscore characters, use of variable prefixes, etc.

Naming Choices

Using Design Pattern Names

External Links

Back to the assignment page