* Peter Seibel wrote:Well, like all sensible people I'm in (b). Quite apart from anything
> This is, I guess, a poll. I'm interested in how experienced Lisp users
> would describe their use of CLOS:
> a) Always. I never use a defun or defstruct, may God smite me down if
> I do.
> b) Sometimes. When appropriate. But sometimes it's just not worth it.
> c) Never. OO is nothing but media hype. It's too bad Common Lisp had
> to get poluted with it.
else, using structures and CLOS is not mutually exclusive: Lisp
actually *is* an object oriented language, unlike Java, so in Lisp
everything is an object, including structures and integers, functions,
strings &c. There are no bogus `not an object' things in the language
put there in some half-witted attempt to make the language design
`simpler' or `more efficient' while screwing everyone who ever wants
to use the thing. Further, structures actually have single
inheritance - in other words they provide an inheritance system as
powerful as anything Java gives you.
(defstruct (b (:include a))
(defgeneric grind (x)
Secondly, I use functions when I don't intend the behaviour I'm
Again, Lisp has been well-designed - there is no syntactic difference
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.