CSC/ECE 517 Summer 2008/wiki2 2 rapodraz: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


=Naming Conventions=
=Naming Conventions=
In most context, the term [[http://en.wikipedia.org/wiki/Identifier_naming_convention|"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.  
In most context, the term [http://en.wikipedia.org/wiki/Identifier_naming_convention|"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=
=Naming Choices=



Revision as of 17:26, 23 June 2008

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