CSC/ECE 517 Fall 2010/ch5 5b mt: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
==Introduction== | ==Introduction== | ||
A [[http://en.wikipedia.org/wiki/Variable_%28programming%29 Variable]] is a name used within a program that holds the value of a known or unknown value. | |||
||An example of multiple cites for the same resource <sup><span id="1bodya">[[#1foot|[1]]]</span></sup> <sup><span id="1bodyb">[[#1foot|[1]]]</span></sup> If it doesn't have multiple cites for the same resource just leave off the ''a'' and ''b'' | ||An example of multiple cites for the same resource <sup><span id="1bodya">[[#1foot|[1]]]</span></sup> <sup><span id="1bodyb">[[#1foot|[1]]]</span></sup> If it doesn't have multiple cites for the same resource just leave off the ''a'' and ''b'' | ||
Line 16: | Line 15: | ||
==Notable Naming Conventions== | ==Notable Naming Conventions== | ||
===Hungarian=== | |||
==Language Specific Examples== | ==Language Specific Examples== | ||
Line 28: | Line 28: | ||
==Additional Resources== | ==Additional Resources== | ||
* | * Sun Java naming conventions - http://www.oracle.com/technetwork/java/codeconventions-135099.html#367 | ||
* .NET 4 naming conventions - http://msdn.microsoft.com/en-us/library/ms229045.aspx | |||
* C++ naming conventions - http://www.cprogramming.com/tutorial/style_naming_conventions.html | |||
* Hungarian Notation - http://en.wikipedia.org/wiki/Hungarian_notation | |||
** Hungarian notation was invented by Microsoft programmer Charles Simonyi. | |||
** While Hungarian notation can be applied to any programming language and environment, it was widely adopted by Microsoft for use with the C language, in particular for Microsoft Windows |
Revision as of 01:28, 1 November 2010
Variable Naming Conventions
Variables are used in all computer programming languages and are used for various reasons; such as, holding the value of a constant, holding the value of something used many times throughout the program, or used briefly for counting. The names used for each variable are more difficult to choose than simply making any word or word combination. The rest of this article is dedicated to helping the novice programmer determine variable names for different programming languages and purposes.
Introduction
A [Variable] is a name used within a program that holds the value of a known or unknown value. ||An example of multiple cites for the same resource [1] [1] If it doesn't have multiple cites for the same resource just leave off the a and b
||This is an example with a reduced width
This is an example of a normal image
||
Notable Naming Conventions
Hungarian
Language Specific Examples
||This is our second subtopic||
Conclusions
||Put the conclusions here||
References
1. a, b Author last, FI. (2010, April 26). Title of webpage. Retrieved October 15, 2010, from site name (Github): http://github.com/
Additional Resources
- Sun Java naming conventions - http://www.oracle.com/technetwork/java/codeconventions-135099.html#367
- .NET 4 naming conventions - http://msdn.microsoft.com/en-us/library/ms229045.aspx
- C++ naming conventions - http://www.cprogramming.com/tutorial/style_naming_conventions.html
- Hungarian Notation - http://en.wikipedia.org/wiki/Hungarian_notation
- Hungarian notation was invented by Microsoft programmer Charles Simonyi.
- While Hungarian notation can be applied to any programming language and environment, it was widely adopted by Microsoft for use with the C language, in particular for Microsoft Windows