From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: Distinguishing type names from other identifiers
Date: 1998/01/15
Date: 1998-01-15T00:00:00+00:00 [thread overview]
Message-ID: <01bd2207$18f3fac0$95fc82c1@xhv46.dial.pipex.com> (raw)
In-Reply-To: 69lael$90o@top.mitre.org
So the answer is ... interleave jokes in comments with your code!
Programmers will love maintaining the code; and they'll have fun thinking
up more jokes to put in. Interesting concept.
Something like
for T in Fuel_Tank_Count'Range loop
-- Did you hear the one about the Scotsman, the Englishman, and the
Irishman?
Initialize_Fuel_Tank_Sensor(T);
end loop;
-- Well, there was a Scotsman, an Englishman, and an Irishman,
-- and they were walking along a Dublin street one night, ...
and so on.
--
Nick Roberts
Croydon, UK
Proprietor, ThoughtWing Software; Independent Software Development
Consultant
* Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 *
*** Eats three shredded spams every morning for breakfast ***
Michael F Brenner <mfb@mbunix.mitre.org> wrote in article
<69lael$90o@top.mitre.org>...
>
> No, the main objection to hour_type is not redundant information,
> but ugliness. The secondary objection is the lack of plurals, so
> that it does not read like an English sentence. The redundancy, if
> it were redundant instead of vacuous, would not be so very objectionable.
>
> However, when stuff like _TYPE is added at the end of each type by
> FIAT of a quality standard, you not only have changed the meaning
> of quality from something that works well and is easily fixed to
> something that is regimented, but you also have lost the reliability,
> lost the maintainability, and lost the desire to read that code.
> It is no longer cool code.
>
> Nothing affects maintainability more than a lack of desire to maintain
it.
>
next prev parent reply other threads:[~1998-01-15 0:00 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-13 0:00 Distinguishing type names from other identifiers Adam Beneschan
1998-01-14 0:00 ` Brian Rogoff
1998-01-15 0:00 ` Michael F Brenner
1998-01-15 0:00 ` Nick Roberts [this message]
1998-01-16 0:00 ` Robert Dewar
1998-01-16 0:00 ` Michael F Brenner
1998-01-16 0:00 ` Robert Dewar
1998-01-16 0:00 ` Robert Dewar
1998-01-16 0:00 ` Brian Rogoff
1998-01-17 0:00 ` nabbasi
1998-01-18 0:00 ` Robert Dewar
1998-01-18 0:00 ` who owns the code? was " nabbasi
1998-01-18 0:00 ` Robert Dewar
1998-01-19 0:00 ` nabbasi
1998-01-19 0:00 ` Robert Dewar
1998-01-20 0:00 ` Paul Van Bellinghen
1998-01-21 0:00 ` Robert Dewar
1998-01-21 0:00 ` nabbasi
1998-01-22 0:00 ` Robert Dewar
1998-01-22 0:00 ` nabbasi
1998-01-21 0:00 ` nabbasi
1998-01-22 0:00 ` Robert Dewar
1998-01-26 0:00 ` Matthew Heaney
1998-01-20 0:00 ` Anonymous
1998-01-20 0:00 ` Robert Dewar
[not found] ` <69rnvv$ <dewar.885475174@me>
1998-01-23 0:00 ` James Hopper
[not found] ` <6a8mir$caa@nn <dewar.8855 <6a8vgd$cr7@nntp1.erinet.com>
1998-01-23 0:00 ` Robert Dewar
1998-01-23 0:00 ` Paul Van Bellinghen
1998-01-23 0:00 ` Robert Dewar
1998-01-23 0:00 ` Richard Kenner
1998-01-23 0:00 ` James Hopper
1998-01-22 0:00 ` Robert Dewar
[not found] ` <6a8mir$caa@nn <dewar.8855 <6a8vgd$cr7@nn <dewar.885555487@merv>
1998-01-24 0:00 ` James Hopper
1998-01-21 0:00 ` Philip Brashear
1998-01-20 0:00 ` Benoit Jauvin-Girard
1998-01-20 0:00 ` Robert Dewar
1998-01-19 0:00 ` who owns the code? was " Anonymous
1998-01-19 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1998-01-25 0:00 tmoran
1998-01-25 0:00 ` Brian Rogoff
1998-01-26 0:00 ` Nick Roberts
1998-01-14 0:00 tmoran
1998-01-14 0:00 ` Robert Dewar
1998-01-14 0:00 ` Brian Rogoff
1998-01-14 0:00 ` nabbasi
1998-01-15 0:00 ` Brian Rogoff
1998-01-10 0:00 Two simple language questions (plural types) Matthew Heaney
1998-01-12 0:00 ` Anonymous
1998-01-12 0:00 ` Matthew Heaney
1998-01-12 0:00 ` Brian Rogoff
1998-01-13 0:00 ` Robert Dewar
1998-01-13 0:00 ` Distinguishing type names from other identifiers Nick Roberts
1998-01-13 0:00 ` Matthew Heaney
1998-01-14 0:00 ` Stephen Leake
1998-01-24 0:00 ` Matthew Heaney
1998-01-15 0:00 ` Anonymous
1998-01-24 0:00 ` Matthew Heaney
1998-01-24 0:00 ` Martin M Dowie
1998-01-25 0:00 ` Matthew Heaney
1998-01-24 0:00 ` Martin M Dowie
1998-01-15 0:00 ` Aaro Koskinen
1998-01-17 0:00 ` Martin M Dowie
1998-01-17 0:00 ` Martin M Dowie
1998-01-25 0:00 ` Matthew Heaney
1998-01-25 0:00 ` Brian Rogoff
[not found] ` <n5rs5FAStOz0Ew2+@dowie-cs.demon.co.uk>
1998-01-26 0:00 ` Brian Rogoff
1998-01-27 0:00 ` Martin M Dowie
1998-01-27 0:00 ` Brian Rogoff
1998-01-27 0:00 ` Matthew Heaney
1998-01-28 0:00 ` Brian Rogoff
1998-01-28 0:00 ` Matthew Heaney
1998-01-29 0:00 ` Brian Rogoff
1998-01-30 0:00 ` Mats Weber
1998-01-28 0:00 ` Martin M Dowie
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox