Monday, June 9, 2008

Naming Conventions

*Camel Casing
First letter is lowercase and remaining words starts with uppercase letter.
eg. int totalValue
*Pascal Casing
First letter of all words is Uppercase.
eg. void MyFunction()
*Hungarian Notation
prepends a lowercase letter (or sequence of lowercase letters) to
the beginning of a Pascal Notation variable name to indicate the type of the variable. For example,
i means integer and s means string in the following line:
var iMyTestValue = 0, sMySecondTestValue = “hi”;

0 comments:

Post a Comment