Friday, September 26, 2008

Pascal Vs Camel Casing

Best Programming Practice:

Pascal Casing:
Pascal Casing - Its good to follow pascal casing while naming a method / function / sub.
e.g.: CalculateGrossSalary [All First Letter Of The Word Are Capital]

Camel Casing:
Its good to follow camel casing while naming a parameter.
e.g.: mySalary [It's Same As Pascal Casing But You Don't Capitalize the very First Letter.]


~ Ram ~

No comments: