comp.lang.ada
 help / color / mirror / Atom feed
* Re: Long names are doom ?
@ 2001-05-26  1:29 robin
  2001-05-26  1:56 ` Jonas Lindstr�m
  0 siblings, 1 reply; 264+ messages in thread
From: robin @ 2001-05-26  1:29 UTC (permalink / raw)


jschauma@netmeister.org (Jan Schaumann) writes: > * Chris Smith wrote:
> >  "00001111" <00001111@my-deja.net> wrote ...
> > >   Anybody use variables/names longer than 31 character
> > > and finds it really useful ?
> >  
> >  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.

er -- unreadable.

view_Prefs_Gen_Opt_Action is better style.

> -Jan
> -- 
> Jan Schaumann 
> http://www.netmeister.org




^ permalink raw reply	[flat|nested] 264+ messages in thread
* Re: Long names are doom ?
@ 2001-05-26  1:27 robin
  0 siblings, 0 replies; 264+ messages in thread
From: robin @ 2001-05-26  1:27 UTC (permalink / raw)


Patricia Shanahan <pats@acm.org> writes: > 
> 
> That is the most important single point, and the reason why long
> identifiers are a good thing to have available.
> 
> Abbreviations in identifiers make them less memorable. For a given
> concept, there is the full name and possibly several ways of
> abbreviating it, and anyone using it has to remember which to use. I try
> to avoid them in public names, including class names.
> 
> Also, a consistent naming system makes names more memorable.
> 
> Sometimes, very rarely, a consistent naming scheme can lead to a
> situation in which limiting the name to e.g. 31 characters would require
> it to either break its naming convention or have some components
> abbreviated.
> 
> For example, take a look at the constant names in
> javax.accessibility.AccessibleContext. Names such as
> "ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED" could be made shorter by
> either abbreviating or not using a consistent scheme, but doing so would
> make them harder to remember. In Fortran I suppose it would be called
> something like ACCTABCOLDESCCHNGE.

or ACC_TAB_COL_DESC_CHNGE

> Patricia




^ permalink raw reply	[flat|nested] 264+ messages in thread
* Long names are doom ?
@ 2001-05-25  2:02 00001111
  2001-05-25  2:25 ` Chris Smith
                   ` (12 more replies)
  0 siblings, 13 replies; 264+ messages in thread
From: 00001111 @ 2001-05-25  2:02 UTC (permalink / raw)



 Hi All,

  Anybody use variables/names longer than 31 character
and finds it really useful ?

Then please respond  why, where, when.
I have folks here in comp.lang.fortran who will die claiming that they

- "never seen a well written, legible program
  that uses any identifiers longer than 18-20 characters..".
- "long variables names are *hard* to read.  And, you have to
  read though all the characters of every instance of them...".
- "it degrades the legibility of a program to use identifiers that
  can't be easily remembered...."

As a result, despite 90% of computer languages have long, very
long or 'infinite' identifiers, fortran folks seems plan to stay
with their 6...aargh ...sorry this was just not far ago... 31 character
limit intil year 3000.

cheers





^ permalink raw reply	[flat|nested] 264+ messages in thread

end of thread, other threads:[~2001-06-17 12:41 UTC | newest]

Thread overview: 264+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-26  1:29 Long names are doom ? robin
2001-05-26  1:56 ` Jonas Lindstr�m
  -- strict thread matches above, loose matches on Subject: below --
2001-05-26  1:27 robin
2001-05-25  2:02 00001111
2001-05-25  2:25 ` Chris Smith
2001-05-25  3:37   ` Jan Schaumann
2001-05-25  5:18     ` (null)
2001-05-25  6:12       ` Patricia Shanahan
2001-05-25 11:41     ` Charles Demas
2001-05-25  2:55 ` Larry Elmore
2001-05-25  3:21 ` Patricia Shanahan
2001-05-25  3:24   ` Roedy Green
2001-05-25  6:19   ` Jim Monty
2001-05-25  7:32     ` Jon Skeet
2001-05-25 12:23     ` Larry Kilgallen
2001-06-06 10:40     ` John
2001-06-08  3:24       ` Larry Elmore
2001-05-25 15:46   ` Everett M. Greene
2001-05-26 22:25   ` AG
2001-05-27 16:52     ` Shankar Unni
2001-05-27 19:02       ` Gary Scott
2001-05-27 19:36         ` Jon Skeet
2001-05-27 21:36           ` Gary Scott
2001-05-28  3:22         ` Roedy Green
2001-05-29 21:17     ` Wes Groleau
2001-05-30 12:04       ` Chris Smith
2001-06-01 11:39         ` Alvaro Segura
2001-06-01 13:50           ` Rev. Bob 'Bob' Crispen
2001-06-01 14:20             ` Marco Schmidt
2001-06-01 15:09             ` Marin David Condic
2001-06-01 18:54               ` Roedy Green
2001-06-01 19:38                 ` Marin David Condic
2001-06-01 21:08                   ` Pete Thompson
2001-06-02  5:29                     ` AG
2001-06-05 19:27                       ` Pete Thompson
2001-06-05 22:22                         ` Chris Uzdavinis
2001-06-06  0:13                           ` Pete Thompson
2001-06-06  9:33                             ` John English
2001-06-08  3:26                               ` Larry Elmore
2001-06-08 17:48                                 ` Wes Groleau
2001-06-08 22:47                                   ` Larry Elmore
2001-06-09  2:30                                     ` Patricia Shanahan
2001-06-09  2:08                                   ` Adam Beneschan
2001-06-08 13:20                               ` James Kanze
2001-06-08 13:38                                 ` John English
2001-06-08 17:07                                   ` Chris Uzdavinis
2001-06-08 13:16                         ` James Kanze
2001-06-02  5:51                     ` Simon Wright
2001-06-04 15:05                     ` Ted Dennison
2001-06-04 15:46                       ` Marin David Condic
2001-06-04 22:26                         ` Roedy Green
2001-06-05 11:42                           ` John English
2001-06-05 13:25                           ` Ted Dennison
2001-06-05 20:59                             ` Roedy Green
2001-06-05 21:15                             ` Roedy Green
2001-06-06 13:25                               ` Ted Dennison
2001-06-06 13:44                               ` Wes Groleau
2001-06-06 14:12                                 ` Marin David Condic
2001-06-06 21:01                                 ` Roedy Green
2001-06-06 22:16                                   ` Gary Scott
2001-06-07  2:32                               ` Shmuel (Seymour J.) Metz
2001-06-08 13:27                                 ` James Kanze
2001-06-08 14:37                                   ` Gary Scott
2001-06-13 12:31                                   ` Shmuel (Seymour J.) Metz
2001-06-05 19:44                           ` Dirk Bosmans
2001-06-05 21:47                             ` Roedy Green
2001-06-08 13:29                               ` James Kanze
2001-06-13 12:33                                 ` Shmuel (Seymour J.) Metz
2001-06-13 20:38                                   ` Roedy Green
2001-06-14  0:00                                     ` Jerry Petrey
2001-06-14 13:03                                     ` Shmuel (Seymour J.) Metz
2001-06-14 19:23                                       ` Conrad Schneiker
2001-06-05  0:40                         ` Larry Kilgallen
2001-06-05  1:53                           ` Roedy Green
2001-06-05  1:55                           ` Roedy Green
2001-06-05  9:17                             ` Blaikie
2001-06-05 17:24                             ` Gary Scott
2001-06-05  3:27                           ` Larry Kilgallen
2001-06-05  7:13                             ` Roedy Green
2001-06-05  9:20                               ` Blaikie
2001-06-05  9:35                                 ` Jon Skeet
2001-06-05  9:40                                   ` Blaikie
2001-06-05  9:57                                     ` Jon Skeet
2001-06-05 10:29                                       ` Blaikie
2001-06-05 13:46                                 ` Ted Dennison
2001-06-05 11:44                               ` John English
2001-06-05 14:28                               ` Marin David Condic
2001-06-05 15:56                             ` Larry Kilgallen
2001-06-05 15:58                             ` Larry Kilgallen
2001-06-05 17:03                               ` Jon Skeet
     [not found]                             ` <q81pht43ib89sjop0Organization <+FWVg+noA0yk@eisner.encompasserve.org>
2001-06-05 20:27                               ` Steve Bellenot
2001-06-05 21:55                                 ` Blaikie
2001-06-06  6:37                                   ` Jon Skeet
2001-06-06  8:18                                     ` Blaikie
2001-06-06  8:31                                       ` Jon Skeet
2001-06-06  8:58                                         ` Blaikie
2001-06-06 21:05                                       ` Roedy Green
2001-06-07 10:16                                         ` Jonathan Revusky
2001-06-08 14:06                                           ` James Kanze
2001-06-08 14:01                                     ` James Kanze
2001-06-05  3:32                           ` Larry Kilgallen
2001-06-05  4:13                           ` Larry Kilgallen
2001-06-05 19:59                         ` Pete Thompson
2001-06-05 20:47                           ` Marin David Condic
2001-06-05 23:08                             ` Pete Thompson
2001-06-06  9:14                               ` John English
2001-06-06 21:08                                 ` Pete Thompson
2001-06-06 11:30                               ` David Gillon
2001-06-06 15:26                                 ` Gary Scott
2001-06-06 21:17                                   ` Roedy Green
2001-06-07  8:10                                   ` John English
2001-06-06 21:19                                 ` Pete Thompson
2001-06-07 11:39                                   ` David Gillon
2001-06-07  2:46                                 ` Shmuel (Seymour J.) Metz
2001-06-06 15:25                               ` Marin David Condic
2001-06-06 22:53                                 ` Pete Thompson
2001-06-07 11:36                                   ` Shmuel (Seymour J.) Metz
2001-06-07 22:01                                     ` Roedy Green
2001-06-07 22:20                                       ` Jon Skeet
2001-06-08 14:20                                       ` Shmuel (Seymour J.) Metz
2001-06-07 13:58                                   ` Ted Dennison
2001-06-07 16:22                                     ` Marin David Condic
2001-06-07 18:14                                     ` Pete Thompson
2001-06-07 18:59                                       ` Ted Dennison
2001-06-07 20:30                                       ` Larry Kilgallen
2001-06-07 19:46                                         ` Marin David Condic
2001-06-07 20:20                                           ` Benjamin.Altman
2001-06-07 21:52                                             ` Blaikie
2001-06-07 22:35                                               ` Roedy Green
2001-06-07 22:04                                             ` Marin David Condic
2001-06-07 23:06                                               ` Eric The Read
2001-06-07 23:14                                               ` Dan Mercer
2001-06-08  0:08                                               ` Roedy Green
2001-06-09  6:10                                               ` Dale King
2001-06-12  8:42                                                 ` James Kanze
2001-06-12 15:01                                                   ` Dan Mercer
2001-06-12 17:16                                                     ` Marin David Condic
2001-06-12 21:21                                                       ` Dan Mercer
2001-06-13  3:54                                                         ` Roedy Green
2001-06-13 11:14                                                           ` Philip Anderson
2001-06-13 13:48                                                           ` Marin David Condic
2001-06-13 14:57                                                             ` Ted Dennison
2001-06-13 16:22                                                               ` Marin David Condic
2001-06-14 14:47                                                                 ` Wes Groleau
2001-06-13 15:22                                                         ` Wes Groleau
2001-06-14 12:51                                                       ` Shmuel (Seymour J.) Metz
2001-06-14 13:49                                                         ` Marin David Condic
2001-06-17  2:28                                                           ` Shmuel (Seymour J.) Metz
2001-06-13  8:39                                                     ` James Kanze
2001-06-13  9:51                                                       ` Blaikie
2001-06-13 15:41                                                         ` Wes Groleau
2001-06-13 17:35                                                           ` Ted Dennison
2001-06-13 20:19                                                           ` Roedy Green
2001-06-15 15:50                                                             ` John English
2001-06-14 12:53                                                     ` Shmuel (Seymour J.) Metz
2001-06-08  3:54                                           ` Larry Elmore
2001-06-08  4:50                                             ` Gary Labowitz
2001-06-12 22:57                                               ` Larry Elmore
2001-06-08  5:59                                             ` Roedy Green
2001-06-08 17:06                                               ` Eric The Read
2001-06-08 23:20                                                 ` Roedy Green
2001-06-08 22:55                                               ` Larry Elmore
2001-06-07 19:44                                     ` tmoran
2001-06-07 17:37                                   ` Wes Groleau
2001-06-08 14:31                                   ` James Kanze
2001-06-08 18:19                                     ` Pete Thompson
2001-06-09  1:15                                       ` Larry Kilgallen
2001-06-11 10:52                                         ` James Kanze
2001-06-13 12:37                                         ` Shmuel (Seymour J.) Metz
2001-06-09  3:51                                     ` Patricia Shanahan
2001-06-11 10:56                                       ` James Kanze
2001-06-06 21:10                               ` Roedy Green
2001-06-07  2:20                               ` Shmuel (Seymour J.) Metz
2001-06-07 18:27                                 ` Pete Thompson
2001-06-08 14:12                                   ` Shmuel (Seymour J.) Metz
     [not found]                         ` <pb2ohtgs64jhssmmohpq5qr7nmcsq6119c@4a <Bh0r7ajFbl7x@eisner.encompasserve.org>
2001-06-05 20:35                           ` Simon Wright
2001-06-05 19:56                       ` Pete Thompson
2001-06-05 20:46                         ` Simon Wright
2001-06-07  2:11                         ` Shmuel (Seymour J.) Metz
2001-06-07 15:34                           ` Dale King
2001-06-08  4:38                             ` Donald L. Dobbs
     [not found]                               ` <GELwCw.K0r@approve.se>
2001-06-09  9:23                                 ` AG
     [not found]                                   ` <GEnxK3.3n8@approve.se>
2001-06-09 21:01                                     ` AG
2001-06-13 12:23                               ` Shmuel (Seymour J.) Metz
2001-06-13 12:17                             ` Shmuel (Seymour J.) Metz
2001-06-15 15:53                               ` John English
2001-06-07 18:26                           ` Pete Thompson
2001-06-08 14:09                             ` Shmuel (Seymour J.) Metz
2001-06-17 12:41                           ` HarryO
2001-06-05 11:24                     ` John English
2001-06-05 13:53                       ` Ted Dennison
2001-06-05 14:10                         ` Jon Skeet
2001-06-05 16:02                         ` Larry Kilgallen
2001-06-08 14:47                         ` James Kanze
2001-06-08 17:43                           ` tmoran
2001-06-10  1:26                             ` AG
2001-06-05 12:53                     ` Philip Anderson
2001-06-05 14:29                     ` James Kanze
2001-06-05 14:52                       ` Marin David Condic
2001-06-05 16:05                         ` Philip Anderson
2001-06-05 16:41                           ` Marin David Condic
2001-06-06  4:28                             ` Dale King
2001-06-06  9:07                             ` Philip Anderson
2001-06-06  9:21                             ` John English
2001-06-06 13:46                               ` Ted Dennison
2001-06-06 15:29                                 ` Marin David Condic
2001-06-06 11:37                           ` Larry Kilgallen
2001-06-05 19:52                         ` Matthew Woodcraft
2001-06-07 10:26                         ` Jacob Sparre Andersen
2001-06-07 16:07                           ` Marin David Condic
2001-06-08  9:45                             ` Jacob Sparre Andersen
2001-06-08 14:52                             ` James Kanze
     [not found]                           ` <9fo8sb$qrc$1@n <3B20E6C9.562E8BE6@dresdner-bank.com>
2001-06-09  6:00                             ` Simon Wright
2001-06-05 16:04                       ` Larry Kilgallen
2001-06-05 14:26                 ` James Kanze
2001-06-05 14:45                   ` Jon Skeet
2001-06-08 14:55                     ` James Kanze
2001-06-01 20:32               ` Wes Groleau
2001-06-02  4:27               ` AG
2001-06-01 17:33             ` Wes Groleau
2001-06-02  6:19               ` Simon Wright
2001-06-04 14:22                 ` Marin David Condic
2001-06-01 18:48             ` Roedy Green
2001-06-02 20:28               ` Edward Rosten
2001-06-05 14:23             ` James Kanze
2001-06-01 14:18           ` Larry Kilgallen
2001-06-01 15:35           ` Wes Groleau
2001-06-01 15:41             ` Jon Skeet
2001-06-01 20:44               ` Wes Groleau
2001-06-02 17:31                 ` Jon Skeet
2001-06-05 11:52                   ` Georg Bauhaus
2001-06-05 12:13                     ` Jon Skeet
2001-06-05 11:52         ` John English
2001-05-30 14:14       ` Marin David Condic
2001-05-30 20:50         ` Roedy Green
2001-06-04  0:37         ` Shmuel (Seymour J.) Metz
2001-06-04 14:41           ` Marin David Condic
2001-06-04 22:33             ` Roedy Green
2001-06-05 14:40               ` Marin David Condic
2001-06-05 14:49             ` James Kanze
2001-05-25  5:42 ` Steve Bellenot
2001-05-25 11:39   ` Peter Fitzgibbons
2001-05-25 13:34   ` Marin David Condic
2001-05-25 19:31     ` Roedy Green
2001-05-25 20:23       ` Larry Hazel
2001-05-26  0:39       ` Larry Kilgallen
2001-05-29  9:41       ` John English
2001-05-29 19:32         ` Roedy Green
2001-05-29 20:35           ` Marin David Condic
2001-05-29 14:55       ` Marin David Condic
2001-06-09  9:15         ` Kent Dahl
2001-05-29 21:25       ` Wes Groleau
2001-05-25  5:46 ` tmoran
2001-05-25  6:12 ` Patrick Logan
2001-05-25 11:25 ` Florian Weimer
2001-05-25 12:11 ` Larry Kilgallen
2001-05-25 13:17 ` Marin David Condic
2001-05-25 17:35 ` tmoran
2001-05-25 19:17   ` Marin David Condic
2001-05-25 21:23   ` Jon Skeet
2001-05-26 21:28 ` Tom Spilman
2001-05-27 13:53   ` Gary Scott
2001-06-01 23:11 ` 00001111
2001-06-07 11:33 ` Phil K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox