comp.lang.ada
 help / color / mirror / Atom feed
From: mark_lundquist@my-deja.com
Subject: Re: Bad coding standards - aesthetics are irrelevant
Date: Thu, 28 Dec 2000 00:54:24 GMT
Date: 2000-12-28T00:54:24+00:00	[thread overview]
Message-ID: <92e2vu$8bd$1@nnrp1.deja.com> (raw)
In-Reply-To: x7vr92zwokn.fsf@smaug.pushface.org

In article <x7vr92zwokn.fsf@smaug.pushface.org>,
  Simon Wright <simon@pushface.org> wrote:
> Bruce or Tracy <bljacobs@hiwaay.net> writes:
> >
> >   My_Package_Name.My_Procedure_Name
> >     (The_Track_Number        => Track_Number,
> >      The_Meters_From_Target  => Meters_From_Targer,
> >      The_Seconds_Till_Impact => Seconds_Till_Impact,
> >      The_Weapon_Azimuth      => Azimuth,
> >      The_Weapon_Elevation    => Elevation,
> [etc...]
>
> I noticed the 'The_Whatever' style -- this was the old Booch
> recommendation, I think. But even then it struck me as a desperate
> measure -- really you need to think about the names in the context
> that the subprogram must be called. Not always possible, of course!
>

Yeah!  I can't stand the "The_Whatever" style, either.  I never, ever
use it.  "Desperate" is just the right for how it reads.  Did that
really come from His Boochness? :-)

The funny thing about the example is that is the named associations,
which are (rightly) being displayed as an example of improved
readability, that make the weakness of the "The_Whatever" convention
most apparent.  This habit is an easy way out for the writer of the
parameterized construct at the expense of the writer who will use it.


Sent via Deja.com
http://www.deja.com/



  reply	other threads:[~2000-12-28  0:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-20 22:22 Bad coding standards - aesthetics are irrelevant Singlespeeder
2000-12-20 23:46 ` Larry Kilgallen
2000-12-21  4:12 ` Robert C. Leif, Ph.D.
2000-12-21 11:33   ` Robert Dewar
2000-12-21 15:59 ` Stephen Leake
2000-12-21 19:30   ` William Starner
2000-12-21 20:54     ` Florian Weimer
2000-12-22 21:33       ` William Starner
2000-12-22 14:57     ` Bruce or Tracy
2000-12-23  8:04       ` Simon Wright
2000-12-28  0:54         ` mark_lundquist [this message]
2000-12-22 15:06   ` Ira D. Baxter
2001-01-03 20:02   ` Wes Groleau
2000-12-21 23:46 ` Marin David Condic
2000-12-22  6:45   ` mark_lundquist
2000-12-28 16:05   ` Erik Magnuson
2000-12-28 20:16     ` Marin David Condic
2000-12-29  4:05       ` Robert Dewar
2000-12-29 12:19       ` Larry Kilgallen
2000-12-29 14:02       ` Tarjei T. Jensen
2000-12-29 16:23         ` Robert Dewar
2000-12-29 14:44       ` Erik Magnuson
2001-01-03 20:12   ` Wes Groleau
replies disabled

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