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 04:12:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feed.news.nacamar.de!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: Mon, 2 Jun 2003 11:12:50 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054552370 17495 129.241.83.78 (2 Jun 2003 11:12:50 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 2 Jun 2003 11:12:50 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38330 Date: 2003-06-02T11:12:50+00:00 List-Id: Sergey Koshcheyev wrote: > > "Preben Randhol" wrote in message > news:slrnbdm1i7.1k5.randhol+abuse@kiuk0152.chembio.ntnu.no... >> Case SenSitIvitY is a bAD ThiNg IMHO. It reduces readability as you need >> to be sure you spelt it correctly according to the definition. One could >> in fact have a GetString and getstring and Getstring and >> getString procedure. > > IMHO, case sensitivity would help ensure consistency of names, so you don't > have Text_IO, Text_Io, text_io and TEXT_IO in the same program, and would > also enable using common words like In, Out, For, At for identifiers. Things > like GetString vs. getstring and others are better handled by using some > coding standard and naming convention, in my opinion. Given that it's > standard in Ada to use Identifiers_Like_This, I think case sensitivity > wouldn't do any harm. Why should the language care how you type it? If you use Gnat you will notice it has a switch which does this for you. If you use Emacs it also will. The problem is when you introduce errors in you program due to wrong cases that is more severe. -- Preben Randhol http://www.pvv.org/~randhol/