469,642 Members | 1,282 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

where are the Hungarian notations?

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
Jul 21 '05 #1
3 1104
Fahad Ashfaque <Fa***********@discussions.microsoft.com> wrote:
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

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2
Fahad Ashfaque wrote:
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?


See http://weblogs.asp.net/kcwalina/arch...28/235232.aspx

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Jul 21 '05 #3
guy
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

"Fahad Ashfaque" wrote:
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

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Fahad Ashfaque | last post: by
24 posts views Thread by Ronald S. Cook | last post: by
18 posts views Thread by dom.k.black | last post: by
12 posts views Thread by inhahe | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.