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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,259541b8a8a12b6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-27 17:00:31 PST Path: supernews.google.com!sn-xit-02!supernews.com!router1.news.adelphia.net!cyclone.news.idirect.com.MISMATCH!newsfeed.direct.ca!look.ca!newsfeed.mathworks.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: mark_lundquist@my-deja.com Newsgroups: comp.lang.ada Subject: Re: Bad coding standards - aesthetics are irrelevant Date: Thu, 28 Dec 2000 00:54:24 GMT Organization: Deja.com Message-ID: <92e2vu$8bd$1@nnrp1.deja.com> References: <3A425B14.6B007AC1@worldnet.att.net> <3A436BD7.6CEEA6E4@hiwaay.net> NNTP-Posting-Host: 130.213.202.149 X-Article-Creation-Date: Thu Dec 28 00:54:24 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) X-Http-Proxy: 1.1 x58.deja.com:80 (Squid/1.1.22) for client 130.213.202.149 X-MyDeja-Info: XMYDJUIDmark_lundquist Xref: supernews.google.com comp.lang.ada:3411 Date: 2000-12-28T00:54:24+00:00 List-Id: In article , Simon Wright wrote: > Bruce or Tracy writes: > > > > My_Package_Name.My_Procedure_Name > > (The_Track_Number => Track_Number, > > The_Meters_From_Target => Meters_From_Targer, > > The_Seconds_Till_Impact => Seconds_Till_Impact, > > The_Weapon_Azimuth => Azimuth, > > The_Weapon_Elevation => Elevation, > [etc...] > > I noticed the 'The_Whatever' style -- this was the old Booch > recommendation, I think. But even then it struck me as a desperate > measure -- really you need to think about the names in the context > that the subprogram must be called. Not always possible, of course! > Yeah! I can't stand the "The_Whatever" style, either. I never, ever use it. "Desperate" is just the right for how it reads. Did that really come from His Boochness? :-) The funny thing about the example is that is the named associations, which are (rightly) being displayed as an example of improved readability, that make the weakness of the "The_Whatever" convention most apparent. This habit is an easy way out for the writer of the parameterized construct at the expense of the writer who will use it. Sent via Deja.com http://www.deja.com/