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: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2001-05-25 19:26:00 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: 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 ? Message-ID: References: <3B0DBD4A.82943473@my-deja.net> <9ekrc2$hk0$1@news.fsu.edu> <9eln0p$24p$1@nh.pace.co.uk> Organization: LJK Software Date: 25 May 2001 19:39:33 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 990833975 216.44.122.34 (Fri, 25 May 2001 23:39:35 GMT) NNTP-Posting-Date: Fri, 25 May 2001 23:39:35 GMT Xref: archiver1.google.com comp.lang.ada:7796 comp.lang.awk:2610 comp.lang.clarion:20386 comp.lang.java.programmer:70952 comp.lang.pl1:649 comp.lang.vrml:3335 Date: 2001-05-25T19:39:33-05:00 List-Id: In article , Roedy Green writes: > On Fri, 25 May 2001 09:34:15 -0400, "Marin David Condic" > wrote or quoted : > >>If you're going to have an arbitrary and capricious limit on identifier >>length, then 42 is a better number than 31. > > You could ask it this way. Who is better able to judge whether a given > long variable is justified, somebody versed in the project or somebody > who has never seen it? > > This is a matter of style, and such a thing MIGHT be enforceable on a > PROJECT basis. > > 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. I would guess it would be a very simple ASIS program to detect unacceptable (for the project) identifiers, on the basis of length or some other standards. That one ASIS program should be quite portable between different brands of Ada compilers.