[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

astronaut example on p.313



    Date: Thursday, 7 Nov 85 11:56:33 PST
    From: S Sridhar <sridhar%tekchips%tektronix.csnet@CSNET-RELAY.ARPA>

    On p.313, we've
     (setq x (make-astronaut :name 'buzz :age 45
			     :sex t :helmet-size 17.5))
    I don't like this :sex t. It would be perhaps more appropriate
    to have :sex 'm or :sex 'f or ...

    --sridhar

I suppose that this is one of the "subtly witty" things that Winston had
in mind (see the quote on the back cover).  The entire point is that it
isn't clear.  Then again it is: it says that the astronaut has a sex,
but doesn't say which.  (HAL, in the movie 2001, is an examples of an
astronaut that has no sex.)  I'm sorry you don't like it.  It certainly
is not exemplary of god programming style.  Maybe we should change it in
the next edition.

--Guy