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 20:41:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) References: <0vGdnQFmVPoZj0Gj4p2dnA@gbronline.com> In-Reply-To: <0vGdnQFmVPoZj0Gj4p2dnA@gbronline.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 03 Jun 2003 03:41:00 GMT NNTP-Posting-Host: 162.83.151.62 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny01.gnilink.net 1054611660 162.83.151.62 (Mon, 02 Jun 2003 23:41:00 EDT) NNTP-Posting-Date: Mon, 02 Jun 2003 23:41:00 EDT Xref: archiver1.google.com comp.lang.ada:38426 Date: 2003-06-03T03:41:00+00:00 List-Id: Wesley Groleau wrote: > Oh, but it's SO cool to write > int Func (FILE *file) {} Case sensitivity is clearly a matter of taste, but Ada already allows the same name to refer to multiple things. Indeed, that's usually touted as an advantage over C and C++: type color is ( red, green, blue ); type mood is ( cheerful, angry, blue ); This means that just looking at an identifier, I can't immediately know what it is - I may have to analyze a complicated overload to figure it out, or have my IDE do that for me. If it turns out that I used the identifier in an incorrect context, the compiler will tell me. So since we're already in this situation, I fail to see how case sensitivity makes things any worse, except that some people just don't like it. That bit of C code cited above is perfectly natural to a C programmer, who would find it instantly readable and indeed would be unlikely to even give it a second thought.