CSC/ECE 517 Fall 2010/ch5 5b mt: Difference between revisions
Line 17: | Line 17: | ||
==Notable Naming Conventions== | ==Notable Naming Conventions== | ||
=== | ===General Conventions=== | ||
====Hungarian==== | |||
===Language Specific Conventions=== | ===Language Specific Conventions=== | ||
||This is our second subtopic|| | ||This is our second subtopic|| | ||
====Ruby==== | |||
====Java==== | |||
====C/C++/C#==== | |||
====.NET==== | |||
==Conclusions== | ==Conclusions== |
Revision as of 03:14, 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 something that is known or unknown.
||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
General Conventions
Hungarian
Language Specific Conventions
||This is our second subtopic||
Ruby
Java
C/C++/C#
.NET
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