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 autolearn=ham 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-02 05:55:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: Mon, 02 Jun 2003 06:46:11 -0600 Organization: dis- Message-ID: References: NNTP-Posting-Host: dial-102-48.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1054558000 14373 128.83.176.48 (2 Jun 2003 12:46:40 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Mon, 2 Jun 2003 12:46:40 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:38336 Date: 2003-06-02T06:46:11-06:00 List-Id: On Mon, 02 Jun 2003 13:56:57 +0200, Sergey Koshcheyev wrote: > "Preben Randhol" wrote in message > news:slrnbdmc9d.46d.randhol+abuse@kiuk0152.chembio.ntnu.no... >> Why should the language care how you type it? > > For consistency. > >> If you use Gnat you will notice it has a switch which does this for >> you. > If you use Emacs it also will. > > Yes, the switch is fine, but it still doesn't let me name a function > parameter "At", for example. > >> will. The problem is when you introduce errors in you program due to >> wrong cases that is more severe. > > How can I introduce an error due to wrong case, having strong type > checking and all the other safeguards? What if Records and RecordS have the same type? And even if they don't, who wants to go fix a bunch of case-typos and then recompile? FWIW I've worked in environments that used case-sensitive languages, and a large proportion of the bugs I've fixed in my whole life were the result of people using identifiers with the wrong case. (Second in number only to use of global variables in elegant disdain for the fact that other procedures were also using them.) -- Bobby Bryant Austin, Texas