HP3000-L Archives

December 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 18 Dec 1997 12:06:52 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Art Bahrs writes:

>I gotta mention that back in college we printed out the source for
>MPE 3 ( I
>think it was 3??? hmmm... been a while... it was in '84) I think....  and
>found lots of one-liners in the source code
>
>Things like "This is where all the good programs go to die!"  in the
>section for where prcesses end :)

This is pretty common. Programmers, after all, have little scope for
self-expression *except* in comments. The reason for this is that
humorous comments in the UI quickly become first humdrum, then silly and
finally annoying. Polite, yes, but not humorous.

The Apple C compiler for the 68000, while possessed of an excellent code
generator, suffered from this flaw. It produced "cute" error messages
like "a comma was a complete surprise to me at this point" or "expression
too complex (and I bet you can't understand it either)". But by the
hundredth time you've seen the compiler quit with the message "Too many
errors (make fewer)" when the real problem is weak error recovery in the
parser, it begins to get annoying.

I try to make my source code comments at least moderately entertaining
because someday, somebody may have to read them and it's better if the
material can keep their interest. Besides, when I'm writing Windows
programs, it's both cathartic and challenging to come with ways of
expressing my opinion of the software engineers responsible for
perpetrating it without actually calling them anything bad.

-- Bruce


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
btoback AT optc.com                |     -- Edna St. Vincent Millay
Unsolicited mail to [log in to unmask] will be inspected for a
fee of US$250. Mailing to said address constitutes agreement to
pay, including collection costs.

ATOM RSS1 RSS2