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 11:18:18 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: snarflemike@yahoo.com (Mike Silva) Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: 2 Jun 2003 11:18:17 -0700 Organization: http://groups.google.com/ Message-ID: <20619edc.0306021018.6ee4dd09@posting.google.com> References: NNTP-Posting-Host: 154.6.152.68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1054577898 22114 127.0.0.1 (2 Jun 2003 18:18:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Jun 2003 18:18:18 GMT Xref: archiver1.google.com comp.lang.ada:38383 Date: 2003-06-02T18:18:18+00:00 List-Id: "Sergey Koshcheyev" wrote in message news:... > > 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. Going back to first principles, different case does not change the meaning of words (at least in English!). Cup and cup and CUP are all the same. I'm sure it was only a matter of laziness or a desire for greater speed that caused case sensitivity to be included in many languages. In either case, they broke the rules of language meaning by causing Cup and cup and CUP to be different things. The question is, do you *really* need Cup and cup and CUP to be different? I know it's a common C idiom, e.g. to declare: CUP cup; But I think that's just more laziness -- surely one could think of a more suitable name for this particular CUP variable! Anyway, I think the key point is that Ada follows conventional language useage, while case-sensitive languages don't. Mike