From: "Mark Lundquist" <mlundquist2@attbi.com>
Subject: Re: List Strawman JC01
Date: Thu, 06 Dec 2001 19:34:43 GMT
Date: 2001-12-06T19:34:43+00:00 [thread overview]
Message-ID: <nLPP7.4018$Yy.271026@rwcrnsc53> (raw)
In-Reply-To: 3C0EB851.77E7172A@boeing.com
"Jeffrey Carter" <jeffrey.carter@boeing.com> wrote in message
news:3C0EB851.77E7172A@boeing.com...
> > I'm not a fan of the style where one adds a meaningless word like "Type"
or
> > "Handle" to the end of identifiers to save name space for other uses.
Types
> > should be named describing the general concept of what they represent,
and
> > objects and parameters should be given names describing their explicit
role in
> > the system.
>
> I agree. And since List is a better parameter name than Target or
> whatever for many operations,
I often default to "This" or something like that, but usually I can find a
way to do better. It seems that in your examples, you like to tailor your
parameter names to favor named association in calls, and I think that's good
practice (it's my preferred style, anyway).
> I choose to keep it available for a
> parameter name. This means the type has to have a different name.
Well it doesn't *have* to, e.g.:
package Lists is
.
.
procedure Make_Empty (List : Lists.List);
(although, that's a parameter that I would probably name "This")...
> In any
> case, we're deliberately trying out different names to see which ones
> cause the fewest people to barf.
The imagination recoils... :-) ("Right then... next name please!")
Cheers,
Mark
next prev parent reply other threads:[~2001-12-06 19:34 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-05 6:08 List Strawman JC01 Jeffrey Carter
2001-12-05 19:14 ` Ted Dennison
2001-12-06 0:14 ` Jeffrey Carter
2001-12-06 3:15 ` Jeffrey Carter
2001-12-06 16:11 ` Ted Dennison
2001-12-06 17:48 ` Jeffrey Carter
2001-12-07 15:06 ` Ted Dennison
2001-12-07 17:43 ` Stephen Leake
2001-12-07 18:59 ` Ted Dennison
2001-12-09 14:04 ` Mark Lundquist
2001-12-10 15:25 ` Ted Dennison
2001-12-10 15:46 ` Marin David Condic
2001-12-10 17:12 ` Ted Dennison
2001-12-07 18:10 ` Jeffrey Carter
2001-12-07 19:45 ` Ted Dennison
2001-12-07 22:47 ` Basic Properties of Lists Jeffrey Carter
2001-12-09 14:04 ` Mark Lundquist
2001-12-09 18:16 ` Chad R. Meiners
2001-12-09 21:21 ` Jeffrey Carter
2001-12-10 15:37 ` Ted Dennison
2001-12-10 22:13 ` Jeffrey Carter
2001-12-11 14:33 ` Ted Dennison
2001-12-09 14:04 ` List Strawman JC01 Mark Lundquist
2001-12-10 17:02 ` Ted Dennison
2001-12-10 17:13 ` Ted Dennison
2001-12-10 15:37 ` Marin David Condic
2001-12-10 16:10 ` Larry Hazel
2001-12-06 19:09 ` Stephen Leake
2001-12-06 22:45 ` Jeffrey Carter
2001-12-07 16:54 ` Ted Dennison
2001-12-07 17:18 ` Darren New
2001-12-07 17:44 ` Doubly-linked list ordering(s) (was: List Strawman JC01) Ted Dennison
2001-12-07 17:30 ` List Strawman JC01 Ted Dennison
2001-12-06 19:34 ` Mark Lundquist [this message]
2001-12-07 17:04 ` Ted Dennison
2001-12-07 22:27 ` Jeffrey Carter
2001-12-09 14:04 ` Mark Lundquist
2001-12-06 19:34 ` Mark Lundquist
2001-12-06 23:09 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox