[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extending DEFSTRUCT
- To: Daniel L. Cerys <Cerys@XX.LCS.MIT.EDU>
- Subject: Re: extending DEFSTRUCT
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Mon, 26 Oct 87 12:11 EST
- Cc: common-lisp@SAIL.STANFORD.EDU
- In-reply-to: <2771248902-3508558@RTS-12>
Date: Mon, 26 Oct 87 10:21:42 EST
From: "Daniel L. Cerys" <Cerys@XX.LCS.MIT.EDU>
> When *PRINT-STRUCTURE* in NIL:
> I think a slightly better name is *PRINT-STRUCTURE-CONTENTS*.
> (We've had this for a couple years).
I agree on the utility of this variable, but not on its name. Since
*PRINT-ARRAY* determines whether the contents of arrays are printed, a
variable named *PRINT-STRUCTURE* should do the same for structures.
Using *PRINT-STRUCTURE-CONTENTS* wouldn't be as clear.
Don't you think that what that really indicates is that the name
*PRINT-ARRAY* was poorly chosen and is not as clear? If you look
through the list of printer flags on CLtL pp.370-373, *print-array*
is the only one that doesn't connote very well what it does, to my
ear. It's as if someone thought it was more important to make all
the names exactly two words long.