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,a50a3c40267219cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 06:11:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!portc01.blue.aol.com!news.stealth.net!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BCC322A.78C0B3C4@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: The caselessness is one of the things I like best! References: <3105e154.0110150021.32ff5426@posting.google.com> <9qeg5r$266$1@trog.dera.gov.uk> <9qei6k$3hj$1@newstoo.ericsson.se> <3BCBF464.E1822E95@brighton.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 16 Oct 2001 13:11:50 GMT NNTP-Posting-Host: 12.86.34.245 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1003237910 12.86.34.245 (Tue, 16 Oct 2001 13:11:50 GMT) NNTP-Posting-Date: Tue, 16 Oct 2001 13:11:50 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:14663 Date: 2001-10-16T13:11:50+00:00 List-Id: John English wrote: > > Arthur Evans Jr wrote: > > OTOH, I don't think it should be the goal of language design to > > legislate against such usage -- it can't succeed in doing so. For > > example, nothing in Ada's specification legislates against using > > OO00OO0O00O00 and OO00O00O00O00 as identifiers, or > > lll11l1l1lll1l1ll1 and lll11l1l1l1l1l1ll1, or mmmmmmmmmmmmmmmmmmmm > > and mmmmmmmmmmmmmmmmmmmmm. I think use of such identifiers is > > fully as bad practice as using 'item' and 'Item'. > > Yes, but as I've said many times before, having to remember whether > an identifier is spelt RuntimeException or RunTimeException, or > Hashtable vs. HashTable, or HashMap vs. Hashmap, is an unnecessary > burden on my memory. And to add insult to injury, all the Java and > C++ compilers I know will just barf if you get the case wrong rather > than giving a more helpful error message suggesting the possibly > correct spelling... Note that Java abuses case sensitivity in its standard. There is the reserved word "class", which is used to define a class, and the "Class" class, which is used as the basis for reflection. While on the subject, I also am amused by the "Object" class, which is the root of all Java inheritance. This combination allows you to talk about the Class object and the Object class as well as the Class class and the Object object. This results in wonderful classroom discussions. Jim Rogers Colorado Springs, Colorado USA