Re: Hungarian Notation
- From: "Wayne Niddery [TeamB]" <wniddery@xxxxxxxxxxxxxx>
- Date: Tue, 12 Apr 2005 13:03:44 -0400
Jim Cooper wrote:
>> I made a concious decision, because of what
>> I perceived as a value to me, to *start* to specifically distinguish
>> *components* from other identifiers via the use of prefixes.
>
> You still haven't said why you do that, though.
The answer is in the statement above - it makes a very clear visual
disinction in the code. I find value in that.
>> I never considered using prefixes for anything else, thus it was
>> never a matter of deciding better of it or stopping short.
>
> YOu're splitting a semantic hair there :-) You've already said you
> think it's bad to use HN for everything.
I *never* said that. What I said is that HN, like so many other things, can
be abused. Abuse, for me, would be coming up with 300 or 400 different
prefixes for that many different control types, and as a result, it *would*
become unreadable - not simply because HN was used but because it is
unreasonable for anyone to memorize *either* that many prefixes *or* that
many specific control types to associate them with.
I don't use prefixes for other kinds of identifiers because I find it
redundant, not unreadable. E.g. I get no benefit from seeing "iCount"
instead of "Count" or "sName" instead "Name", it is normally clear enough
from the naming and context so neither prefix *or* postfix qualifiers are
needed (i.e. you would not name this "CountInteger" or "NameString" either).
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
Light is faster than sound, which is why some folks appear bright
before they speak.
.
- Follow-Ups:
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- References:
- Hungarian Notation
- From: roman modic
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Bryce K. Nielsen
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Bryce K. Nielsen
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- Re: Hungarian Notation
- From: Jim Cooper
- Hungarian Notation
- Prev by Date: Re: David I as a "face" of Borland
- Next by Date: Re: Advantages of .net?
- Previous by thread: Re: Hungarian Notation
- Next by thread: Re: Hungarian Notation
- Index(es):
Relevant Pages
|