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: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2001-05-24 22:20:42 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.slurp.net!not-for-mail Newsgroups: comp.lang.java.programmer,comp.lang.ada Subject: Re: Long names are doom ? References: <3B0DBD4A.82943473@my-deja.net> <9ekfrt$mja$0@pita.alt.net> Organization: Multimedia X-Newsreader: trn 4.0-test72 (19 April 1999) From: cts@kampong.aedinc.net ((null)) Message-ID: Date: Fri, 25 May 2001 05:18:02 GMT NNTP-Posting-Host: 208.4.231.188 X-Trace: newsfeed.slurp.net 990767882 208.4.231.188 (Fri, 25 May 2001 00:18:02 CDT) NNTP-Posting-Date: Fri, 25 May 2001 00:18:02 CDT Xref: archiver1.google.com comp.lang.java.programmer:70582 comp.lang.ada:7744 Date: 2001-05-25T05:18:02+00:00 List-Id: In article , Jan Schaumann wrote: >* Chris Smith wrote: >> Yes, I do occasionally use very long identifiers. Normally, I do so when I >> am using a lot of identifiers according to a set naming convention. >> For example, I might, in a Swing GUI application, declare an Action subclass >> called: >> >> viewPreferencesGeneralOptionsAction >> >> That's 35 characters. If that's really my menu structure (that is, view | >> prefs | general | options) then I really want to use that variable name. > >viewPrefsGenOptAction - that's 21, and just as readable. viewPrefsGenOptAction? Do you mean soething like a procedure to VIEW PREFerences implemented as a GENeric unit and the procedure has an OPTional ACTION. The moral of the story, all names are "readable" to the author. The real test is what other people might think. Abbreviations are good, but only if they aren't ambiguous. -- ======================================================================= Life is short. | Craig Spannring Bike hard, ski fast. | cts@internetcds.com --------------------------------+------------------------------------