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:12:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!216.166.71.14!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:12:18 -0500 Date: Tue, 03 Jun 2003 13:12:28 -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> <1054652619.86785@master.nyc.kbcfp.com> In-Reply-To: <1054652619.86785@master.nyc.kbcfp.com> 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-xDM2IfWJI+1tx2WV+1e6mX2cAFltBsxeBHkXKoPs+oO4ZCUZYOQqeyV6bg1AyHR2xc5EVcdGEf1Bp4G!bYX7Nb1gGPrj+qsQGF378RznTOcGye1AEOkb7wWOoSnfApTyIkTG/5E7+7kyB/yLeFhj06LjbEUD!zitQ 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:38531 Date: 2003-06-03T13:12:28-05:00 List-Id: Hyman Rosen wrote: > And *my* point is that while it may be a bad idea, > Ada already allows it in the case of function > overloading, including enumerators. (FILE *file) in my opinion is the _only_ reasonable use of case sensitivity in a program. In subprogram overloading, if the two same-named functions do not do similar things, then it's probably very poor design. In enumerations, it doesn't happen very often, but when it does, avoiding the disadvantage of having to give something an illogical name to avoid a collision is probably worth the need to occasionally qualify it for the compiler. The human reader has a greater talent at intuiting meaning from context than the compiler, so confusion is unlikely. In the case of FILE *file; there is also no confusion, but this is a style issue NOT enforced by the compiler. Since I type more English than Ada or C, my mind is not very talented at remembering that Position is not position, and when a compiler "does me a favor" (as so many of them do) by assuming the undeclared item is a function returning int, .....