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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no 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: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-Thread: 11440e,23963231b5359f74 X-Google-Attributes: gid11440e,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-01 12:50:24 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" 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: Fri, 1 Jun 2001 15:38:58 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9f8r0i$lu3$1@nh.pace.co.uk> 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> <9f8b7b$h0e$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 991424338 22467 136.170.200.133 (1 Jun 2001 19:38:58 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 1 Jun 2001 19:38:58 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ruby:10323 comp.lang.ada:7994 comp.lang.awk:2684 comp.lang.clarion:20840 comp.lang.java.programmer:72782 comp.lang.pl1:701 comp.lang.vrml:3422 Date: 2001-06-01T19:38:58+00:00 List-Id: Nope. Not a Java programmer. I'm at present a C/C++ Programmer-Under-Duress. By inclination, I'm an Ada programmer. I've fooled with C++ enough to be familiar with Hungarian notation & basically hated it - except that I'd agree with you. When you get used to looking at it in a given context, *not* seeing it tends to throw you. That's why I favor consistency within a project moreso than some particular naming convention. Ada identifier style from the Ada Reference Manual is typically words separated by underscores with capitalization of the first character of each word. Identifiers_Like_This. Reserved words are always lower case. There is no widely used or publicized naming convention for Ada beyond the Ada style guide referenced elsewhere in this thread. AFAIK, there is no detailed naming convention laid out there - only general guidelines that are like Mom, Apple Pie & Chevrolet. (all sorts of "goodness" you can't argue with, but not always real specific.) I've invented naming conventions within projects and found they can be helpful or a major nuisance - sometimes both at the same time. My inclination is to stay simple & not impose too much burden or it won't get followed. The only real gripe I've got with the C/C++/Java crowd about naming conventions is that whole business of slurring everything together as if space isn't useful. TheNamesLikeThis just annoy me! What? Underscores (or hyphens or tic-marks or whatever the language uses...) are some kind of blasphemy in the various sects of C-ism? That, and I never liked any language or OS that was case-sensitive. (Note: This is personal taste and I won't even begin to try to justify it with science or logic. I hate it. That's enough. Its settled. Don't get caught doing it when I'm in charge.) (Nice little bit of flame-bait there, eh? We can resurrect one of those old debates that keeps cropping up periodically, right? :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Roedy Green" wrote in message news:ttofhtk7j7ufbtot7l2o0svn71qq0j7420@4ax.com... > > I trust you are not a Java programmer from the long list of cross > posts. Here in Java land we have a convention: lower case = > variable/method. upper case = class, all upper case = named constant. > > Nice and compact. The only problem is the compiler does not enforce > it. Every once in a while you run into some Bozo who refuses to > follow the convention and it is hell understanding the code because > you can't HELP but unconsciously presume he IS following it even when > you know he is not. > > > > For more detail, please look up the key words mentioned in this post in > the Java Glossary at: http://mindprod.com/gloss.html > If you don't see what you were looking for, complain! > or send your contribution for the glossary. > > -- > Roedy Green, Canadian Mind Products > Custom computer programming since 1963. Ready to take on new work.