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: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,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: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-ArrivalTime: 2001-06-01 10:34:01 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!novia!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3B17D201.11A3CA69@ftw.rsc.raytheon.com> From: Wes Groleau X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en,es,fr,pt MIME-Version: 1.0 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 ? References: <3B0DBD4A.82943473@my-deja.net> <3B0DD011.88FCD00E@acm.org> <83WP6.3874$yc6.728572@news.xtra.co.nz> <3B1411D0.3AAF42E7@ftw.rsc.raytheon.com> <9f2nks$ibd$0@dosa.alt.net> <3B177EF7.2A2470F4@facilnet.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 01 Jun 2001 12:33:53 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 991416839 151.168.144.162 (Fri, 01 Jun 2001 13:33:59 EDT) NNTP-Posting-Date: Fri, 01 Jun 2001 13:33:59 EDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ruby:10317 comp.lang.ada:7987 comp.lang.awk:2681 comp.lang.clarion:20825 comp.lang.java.programmer:72738 comp.lang.pl1:698 comp.lang.vrml:3418 Date: 2001-06-01T12:33:53-05:00 List-Id: > Ages and ages ago, I suggested to the editors of Ada Quality and > Style (as part of the public comment process) that they use the > following convention: > > type Dogs is (German_Shepherd, Sheep_Dog, Dog_Pound_Dog); > Dog : Dogs; > > That is, plural for type names, singular for object names. You'd be > surprised how often that works out. The editors even adopted it as > their recommendation in an early edition of AQ&S. > > Evidently some CS professor types were aghast at the simplicity of this I think it's more a matter of "sounding like English" > proposal, and a later version of AQ&S changed it to something like > "abstract words for type names, specific words for object names" -- > advice that's impossible to understand, much less follow. I would say "easy to understand, not too hard to follow, and makes the code very readable." > I found this culture clash perfectly understandable: I'd come from an > engineering background, so type names like Amperes and Foot_Pounds came > naturally. But you ARE following the abstract/specific guideline if you say type Amperes is ..... Widget_Current : Amperes; -- Wes Groleau http://freepages.rootsweb.com/~wgroleau