Re: Hungarian Notation



Jim Cooper wrote:
>
> Then look at the declaration. Hungarian notation is really dumb in OO
> environments where there are hundreds or thousands of types. You need
> a lookup table to find out what the prefix means.

Anything can be taken too far. In my case, using prefixes for components, I
do not devise a prefix for every variation of a basic control. For example,
TEdit, TDBEdit, TMaskEdit, TMemo are all "edXXX". Buttons are "btnXXX"
regardless if TButton, TBitBtn, TSpeedButton, TToolButton, etc.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
In a tornado, even turkeys can fly. - unknown


.


Loading