Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Coding Standards
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Coding Standards

 Post Reply Post Reply
Author
dharmesh View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2006
Location: India
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote dharmesh Quote  Post ReplyReply Direct Link To This Post Topic: Coding Standards
    Posted: 27 September 2006 at 3:37pm
Hello Everybody,
 
can you help anybody? here i want to details about the coding standards in the VB.NET and ASP.NET.
 
such as how to give the naming converations, commenting styles or methods, variables name ect..........
 
ok, bye
 
 
Dharmesh
 
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 5:50pm
MS' standards:

http://blogs.msdn.com/brada/articles/361363.aspx
Back to Top
jeffdaro View Drop Down
Groupie
Groupie


Joined: 15 April 2005
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffdaro Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2006 at 5:43pm
Two rules I always hold firm, OK three..

1. Always include scope in your variable names
2. Always include datatype in your variable names
3. Always use names that describe what you are doing

So a module level integer variable for storing my shoesize would be:

mintShoeSize

This way I can look at code and instantly know the scope, data type and the data I am looking at in the variable. I despise code where I have no idea if I am looking at a procedural value, a module value, etc.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.