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: 10ad19,23963231b5359f74 X-Google-Attributes: gid10ad19,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-Thread: 11440e,23963231b5359f74 X-Google-Attributes: gid11440e,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-29 03:46:02 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!deine.net!colt.net!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: John English Newsgroups: comp.lang.ruby,comp.lang.ada,comp.lang.awk,comp.lang.clarion,comp.lang.java.programmer,comp.lang.pl1,comp.lang.vrml Subject: Re: Long names are doom ? Date: Tue, 29 May 2001 10:41:09 +0100 Organization: University of Brighton Message-ID: <3B136EB5.AB530C15@brighton.ac.uk> References: <3B0DBD4A.82943473@my-deja.net> <9ekrc2$hk0$1@news.fsu.edu> <9eln0p$24p$1@nh.pace.co.uk> NNTP-Posting-Host: straumli.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 991129265 15232 193.62.183.204 (29 May 2001 09:41:05 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 29 May 2001 09:41:05 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ruby:10128 comp.lang.ada:7836 comp.lang.awk:2626 comp.lang.clarion:20532 comp.lang.java.programmer:71602 comp.lang.pl1:675 comp.lang.vrml:3372 Date: 2001-05-29T09:41:05+00:00 List-Id: Roedy Green wrote: > I would like it if there were lint-like tools that guarded the > repository. They would beautify code to project standards, and > enforce restrictions decided on a per-project basis. > > They would enforce the naming rules, see Coding Conventions in the > Java glossary. Sounds ambitious. How could a tool decide that a particular arbitrary method should be called length() rather than getExtent(), for example? Also you have the inconsistencies that plague the current Java API (and which are significant due to case sensitivity) such as the name Hashtable (lowercase t) but HashMap (capital M). How do you decide where one "word" ends and the next begins within an identifier? ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.comp.it.bton.ac.uk/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------