where are the Hungarian notations?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey,
is it true that dotnet has revolutionalize the notations?

i've downloaded the samples from various sites they use _membername instead
of m_<first type letter>MemberName


Is it some new notation or hungarian still exists?


Fahad Ashfaque
 
Fahad Ashfaque said:
is it true that dotnet has revolutionalize the notations?

i've downloaded the samples from various sites they use _membername instead
of m_<first type letter>MemberName

In practice, private members can be named however you want to name
them. Pick a convention you like and stick to it. Personally I don't
any prefixes to distinguish between member variables and local
variables. Within Rotor, there are many different conventions visible.
Is it some new notation or hungarian still exists?

Microsoft's conventions for visible members ditches Hungarian notation
- see http://tinyurl.com/2cun
 
Given the thousands of classes in the Framework Hungarian isnt really
practical
unless you use obj for everything as everything is an object:-)

eg how would you prefix a SqlDouble, OracleDouble, SqlInt16, SqlInt32,
SqlInt64 ...

and of course with intelisense, mouseover display of info etc there is
little need for it

hth
guy
 
Back
Top