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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8d472879e3f609e0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-03 11:20:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-xfer.cox.net!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 03 Jun 2003 13:23:30 -0500 Date: Tue, 03 Jun 2003 13:20:34 -0500 From: Wesley Groleau Reply-To: wesgroleau@despammed.com Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) References: <0vGdnQFmVPoZj0Gj4p2dnA@gbronline.com> <1054647054.761122@master.nyc.kbcfp.com> <1054651042.211055@master.nyc.kbcfp.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 216.117.18.29 X-Trace: sv3-IU0NSq34t3QLRQxpISOf5Xt6og2IKuI0T1+kt71TCucW4J9nmUdrdI9Ov2T7p6cgqt1jPnwEYKnZDnB!0cqepfCCBJTuJqf4uROP7nH0YF/m0cc56Pao+jInZzkjaavDbiymoUW020RIrbIycIiq/VagBvhU!CrA1 X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:38533 Date: 2003-06-03T13:20:34-05:00 List-Id: > Many folks have advocated using more-descriptive names for the objects. > For example, City_Name instead of A_String. That's of course a good > idea when there *is* a more descriptive name, but for general-purpose > parameters, it doesn't work. Put takes *any* string; there is no > adjective such that Adj_String would aid understanding of the program. Well, I've already said that FILE *file is the only place I can justify case sensitivity, but even there I'd prefer something more descriptive for the formal object. As for vague names for general-purpose parameters, there are usually alternatives. A few examples: From Item Index To Str Substring Out_Of Into Result Angle .... Note that I am trying to express the abstraction, i.e., what we are doing, rather than the implementation, i.e., what kind of data representation we are doing it with.