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,FREEMAIL_FROM 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:20:19 PST Path: archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-FFM2.ecrc.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: "Sergey Koshcheyev" Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: Mon, 2 Jun 2003 13:56:57 +0200 Organization: Czech Technical University Message-ID: References: NNTP-Posting-Host: r2c113.mistral.cz X-Trace: ns.felk.cvut.cz 1054555017 9418 62.245.66.113 (2 Jun 2003 11:56:57 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Mon, 2 Jun 2003 11:56:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:38334 Date: 2003-06-02T13:56:57+02:00 List-Id: "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? Besides, do you really use all the freedom that case insensitivity gives you? Do you type Text_IO differently every time you need to name it? I myself much prefer consistent naming. The compiler could also warn me about names not following conventions, but still let me use reserved words as identifiers (and Ada currently prohibits using many common English words). By the way, I know about Java and Hashtable vs HashMap, but in Ada it could be just the same, with Hashtable and Hash_Map. I don't view it as an argument against case sensitivity. Sergey.