Monday, March 24, 2014

Naming Conventions

Standards I love them! Keeps everything neat, tidy and easy to understand. When it comes to writing code you have a million and one choices to make on how things are done and it is not always easy to decide on a standard way. When it comes to naming though, I follow a few rules:

Class names use PascalCase.




Method names use PascalCase.





Objects use camelCase





Use human readable names. ie. name something using its real name!







Use meaningful descriptive names




These aren't my rules, most come from msdn website here:
http://msdn.microsoft.com/en-us/library/ms229043.aspx



No comments:

Post a Comment