Re: Why has hungarian notation been abandoned?
From: Julie (julie_at_nospam.com)
Date: 08/16/04
- Next message: Julie: "Re: Why has hungarian notation been abandoned?"
- Previous message: Martin: "Re: Execute a Window Application in Command Line"
- In reply to: Phill: "Why has hungarian notation been abandoned?"
- Next in thread: Phill: "Re: Why has hungarian notation been abandoned?"
- Reply: Phill: "Re: Why has hungarian notation been abandoned?"
- Reply: Phill: "Re: Why has hungarian notation been abandoned?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 15 Aug 2004 22:59:13 -0700
Phill wrote:
>
> Does anyone know the reasoning for Microsoft abandoning Hungarina
> Notation in C#?
>
> I have found it very usefull in C++. I like this style:
>
> constant: MY_CONSTANT
> methos: myMethod()
> class: MyClass
> variable: iMyInteger
>
> Anyway I'm not crazy about the new style but wonder if there is a good
> reason for them capitalizing all functions and classes and not using
> hungarian notation?
One of the main reasons is due to the capabilities of modern development
environments, and the ability for type information to be instantly available
(in theory for some IDEs!) for any type, definition, function/method, etc.
Hungarian notation is from the early (PC) days where type information wasn't
readily available, and such prepended type 'decorations' assisted the
programmer in 'knowing' type information simply by looking at the name.
Another reason is that w/ each successive language (or library), the number of
types has (probably) exponentially increased. Hungarian notation just couldn't
keep up w/ the massive number of types being introduced.
In short, Hungarian was very useful for its time, but its time has past, and
its utility value has been steadily diminishing for the past few years...
By the way, what you have as an example above is not Hungarian notation, with
the exception of 'variable: iMyInteger'.
- Next message: Julie: "Re: Why has hungarian notation been abandoned?"
- Previous message: Martin: "Re: Execute a Window Application in Command Line"
- In reply to: Phill: "Why has hungarian notation been abandoned?"
- Next in thread: Phill: "Re: Why has hungarian notation been abandoned?"
- Reply: Phill: "Re: Why has hungarian notation been abandoned?"
- Reply: Phill: "Re: Why has hungarian notation been abandoned?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|