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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,66bc6b039f1e005d X-Google-Attributes: gid103376,public From: mjsilva@my-deja.com Subject: Re: Three simple questions Date: 2000/10/11 Message-ID: <8s2g1h$qru$1@nnrp1.deja.com>#1/1 X-Deja-AN: 680271557 References: <2BED68CA963D6D55.A78776F656DA0452.75A61ED22116F1B6@lp.airnews.net> <39e2588f.21565740@news.demon.co.uk> <39E2D51E.D0122F20@bton.ac.uk> <8s0b78$2no$1@nnrp1.deja.com> X-Http-Proxy: 1.1 x63.deja.com:80 (Squid/1.1.22) for client 206.169.137.75 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Oct 11 19:45:55 2000 GMT X-MyDeja-Info: XMYDJUIDmjsilva Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) Date: 2000-10-11T00:00:00+00:00 List-Id: In article <8s0b78$2no$1@nnrp1.deja.com>, wv12@my-deja.com wrote: > In article <39E2D51E.D0122F20@bton.ac.uk>, > > > I'm dead against case sensitivity. For example, in Java you not only > > have to remember a zillion API calls to do anything useful, you also > > have to remember how they're capitalised. The Java rule is that class > > names have EachWordCapitalised (or is that EachWordCapitalized? :-), > > which is fine when you can remember whether "run time" is one word > > or two (is it RuntimeException or RunTimeException?). > > Case sensitivity enforces consistency among code produced by different > programmmers. Imagine programmer A insists on writing runTimeeXception > and programmer B insits writing runtimeexcception. Maybe you yourself > on Monday decides to write runtimeException and on Tuesday, > RUNTIMEEXCEPTION. Now, that is sick. No doubt such perverse programmers would similarly amuse themselves with the following: char runTimeeXception; int runtimeexcception; short runtimeException; long RUNTIMEEXCEPTION; int this_exception = runTimeeXception; /* correct or not? */ Perhaps the solution is to train or fire perverse programmers. > Well, if you can do anything > *useFUl* in Ada, you don't have to write it in Java. I'll drink to that! > > > Since humans consider 'D' and 'd' to be variant representations of > > the same letter, why shouldn't programming languages? > > > Human only invents ASCII where 'd' and 'D' has different values. And then they write extra searching and sorting code to treat them as equivalent... > > > The way I see it, case insensitive languages just show they are aging. The way I see it case insensitivity allows me to avoid dealing with unimportant but irritating baggage. Mike Sent via Deja.com http://www.deja.com/ Before you buy.