Using hungarian notation in VB.net?

  • Thread starter Thread starter Chuck
  • Start date Start date
C

Chuck

I'm noticing a lot of VB.net examples are not using hungarian notation
(or variants of it) when declaring variables (i.e. strMyString,
iMyBoolean etc).

Is there a generally accepted "norm" for naming variables? What do
you guys use?
 
The trend is definitely away from hungarian notation...MS is discouraging
its use b/c they feel its not longer necessary. I know they have a link to
their suggested guidelies (and if you download fxcop of gotdotnet.com it has
them) but I can't seem to find it...I'll post it if I can. But check out fx
cop in the interim, i'm 99% sure it has all of the guidelines.

HTH,

Bill
 
* Chuck said:
I'm noticing a lot of VB.net examples are not using hungarian notation
(or variants of it) when declaring variables (i.e. strMyString,
iMyBoolean etc).

Is there a generally accepted "norm" for naming variables? What do
you guys use?

Personally, I stick to the rules, except I do /not/ use camel-case for
variables.

<URL:http://dotnet.mvps.org/dotnet/code/miscsources/>
-> "Bennenungsrichtlinien und Code-Konventionen"

Just ignore the German language text and have a look at the links!
 
Back
Top