Re: Hungarian Notation
- From: "Wayne Niddery [TeamB]" <wniddery@xxxxxxxxxxxxxx>
- Date: Sat, 9 Apr 2005 01:33:00 -0400
Jim Cooper wrote:
>> It shows *a* difference, my prefixes identify the basic type of a
>> component or control
>
> And my names *do not* indicate type, except by coincidence. I do not
> name them with the intention of indicating type. You do.
To anyone reading your code, they *obviously* indicate type whether you
intend it or not. You use the postfix to distinguish the control from other
things, and in doing so, type is the natural thing to use for that
distinction. Saying you do not use them for this distinction is saying you
use them for *no reason at all*.
> I just gave an example of where I do **not** use ListBox :-) I use
> "List" for all sorts of things. Some of those things will be TList
> objects, but that's not why I use the name. I also use "List" on
> TCollection objects, and on TListBox, TListView, TSomeSortOfGrid, and
> so on.
>
> See? I'm not indicating type (in the programming language sense of
> the word)
You are indicating the *nature* of the object, we are doing no different in
that regard, I'm just taking it a little further and distinguishing
*controls* from other objects. For a collection or stringlist I would name
it as you do, with "List" at the end.
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"The only reason some people get lost in thought is because it's
unfamiliar territory." - Paul Fix
.
- Follow-Ups:
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- References:
- Hungarian Notation
- From: roman modic
- Re: Hungarian Notation
- From: Joanna Carter \(TeamB\)
- Re: Hungarian Notation
- From: Michael Stum
- Re: Hungarian Notation
- From: Jim Cooper
- Re: Hungarian Notation
- From: Wayne Niddery [TeamB]
- 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: 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
- Hungarian Notation
- Prev by Date: Re: Hungarian Notation
- Next by Date: Re: Hungarian Notation
- Previous by thread: Re: Hungarian Notation
- Next by thread: Re: Hungarian Notation
- Index(es):
Relevant Pages
|