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 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: John English Subject: Re: Three simple questions Date: 2000/10/11 Message-ID: <39E434F7.36E914B8@bton.ac.uk>#1/1 X-Deja-AN: 680078963 Content-Transfer-Encoding: 7bit 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-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bton.ac.uk X-Trace: saturn.bton.ac.uk 971257101 12782 193.62.183.204 (11 Oct 2000 09:38:21 GMT) Organization: University of Brighton Mime-Version: 1.0 NNTP-Posting-Date: 11 Oct 2000 09:38:21 GMT Newsgroups: comp.lang.ada Date: 2000-10-11T09:38:21+00:00 List-Id: 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. Well, if you can do anything > *useFUl* in Ada, you don't have to write it in Java. So what's wrong with running a prettyprinter over the code? Any sensible prettyprinter will not only enforce a layout standard, it'll enforce a capitalisation standard (turn runtime_exception into Runtime_Exception)? Software tools are supposed to make life easier, not harder (although there are many counter-examples ;-) -- why have a dog and bark yourself? Whitespace sensitivity would be good too, by your argument; it would enforce consistent layout standards. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------