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 1: Line 1:
==Variable Naming in Programming==
=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 variables 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.
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 variables 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.



Revision as of 17:20, 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 variables 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

Naming Choices

Using Design Pattern Names

External Links

Back to the assignment page