Naming conventions 
Author Message
 Naming conventions

Are there are published naming conventions by Microsoft for use in VB.NET? I
looked around and couldn't find any. There was for earlier versions of VB,
but are hardly appropriate for the .NET world. I imagine it will be some
bend on hungarian notation.

Thanks.



Mon, 23 May 2005 03:28:48 GMT  
 Naming conventions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpge...

HTH

--
Corrado Cavalli [Microsoft MVP]
UGIdotNET - http://www.ugidotnet.org



Mon, 23 May 2005 04:14:56 GMT  
 Naming conventions
Looks good, but do you know of anything on variable and control naming
conventions, or did I just miss that? (for example - 'str...' for string,
'cmd...' for command button)



http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpge...
ml/cpconnamingguidelines.asp

Quote:

> HTH

> --
> Corrado Cavalli [Microsoft MVP]
> UGIdotNET - http://www.ugidotnet.org



Mon, 23 May 2005 04:24:18 GMT  
 Naming conventions
The MS course I just attended stated that Hungarian notation was no longer
the preferred method..... yikes.


Quote:
> Looks good, but do you know of anything on variable and control naming
> conventions, or did I just miss that? (for example - 'str...' for string,
> 'cmd...' for command button)




http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpge...
Quote:
> ml/cpconnamingguidelines.asp

> > HTH

> > --
> > Corrado Cavalli [Microsoft MVP]
> > UGIdotNET - http://www.ugidotnet.org



Mon, 23 May 2005 04:39:41 GMT  
 Naming conventions
After longtime use of Hungarian notation i'm trying to convert to new
standarts but my brain automatically starts typing btnPrint or txtName
automatically so think I'll keep using that, guidelines are a good idea but
what's important is You (and your organization) have a common naming
guidelines (that might not be 100% MS compatible), i anyway see MS samples
that are not 100% compatible on their own standards...

HTH

--
Corrado Cavalli [Microsoft MVP]
UGIdotNET - http://www.ugidotnet.org



Mon, 23 May 2005 04:50:54 GMT  
 Naming conventions
I suppose I am looking for a naming standard that is recommended or at least
published by MS. We are just setting up a shop and will need to come up with
a new set of standards. I have been in shops that have their own
(proprietary) standards, and want to move towards a more 'industry standard'
(jeez, is that a contradiction in terms or what?). Hungarian notation has
not been updated for .NET, as far as I know. Kinda saddened that MS hasn't
published anything yet.

I appreciate the input.



Quote:
> After longtime use of Hungarian notation i'm trying to convert to new
> standarts but my brain automatically starts typing btnPrint or txtName
> automatically so think I'll keep using that, guidelines are a good idea
but
> what's important is You (and your organization) have a common naming
> guidelines (that might not be 100% MS compatible), i anyway see MS samples
> that are not 100% compatible on their own standards...

> HTH

> --
> Corrado Cavalli [Microsoft MVP]
> UGIdotNET - http://www.ugidotnet.org



Mon, 23 May 2005 05:06:59 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Indexes - Primary key naming conventions

2. Universal Naming Convention.....

3. Naming Conventions?

4. Naming Conventions?

5. Naming Conventions (pascal, camel, etc)

6. Naming Conventions -- Opinions please...

7. New Naming Convention

8. Naming conventions

9. Standard Naming Conventions

10. Menu Naming Conventions

11. Naming Conventions: Avoiding Conflict

12. Naming Conventions

 

 
Powered by phpBB® Forum Software