From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e382b50ddc696050 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-09 06:04:55 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!wn1feed!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <3C0DB9D0.7184868A@acm.org> <3C0EB851.77E7172A@boeing.com> Subject: Re: List Strawman JC01 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 09 Dec 2001 14:04:55 GMT NNTP-Posting-Host: 204.127.202.212 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1007906695 204.127.202.212 (Sun, 09 Dec 2001 14:04:55 GMT) NNTP-Posting-Date: Sun, 09 Dec 2001 14:04:55 GMT Organization: AT&T Broadband Xref: archiver1.google.com comp.lang.ada:17640 Date: 2001-12-09T14:04:55+00:00 List-Id: "Ted Dennison" wrote in message news:KE6Q7.52969$xS6.87397@www.newsranger.com... > In article , Mark Lundquist says... > > procedure Make_Empty (List : Lists.List); > > > >(although, that's a parameter that I would probably name "This")... > > That's not *too* bad. After all, what you really want to say is that this is the > thing that is being made empty. Right. "This" can take on a faint whiff of lameness (though not approaching the pungency of "The_Foo"), and when it does that means I've lapsed into defaulting to it without putting enough effort into coming up with names. A fair amount of the time, though, it really does work out that "This" is the best name (following the "favor named association" approach). > Here I'd be apt to use something like "Target" > or "Subject" (or in a wierd mood, "Victim"). Hah, I use "Victim" too :-)... usually very locally, like in a declare block, for something that is about to be deallocated. > Those look better on the inside > than *this*. Yes, the outside code is more important, but someone has to > maintain the stuff on the inside of the routine too. > Good point. If it helps, one can use a renaming declaration in the body to give more reasonable "inside" names to the parameters. > >The imagination recoils... :-) ("Right then... next name please!") > > But it'd make a smashing Monty Python skit. :-) > My thought exactly :-). Nudge nudge, wink wink, say no more, say no more... -- mark