Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How much use of CLOS?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Coby Beck  
View profile  
 More options Oct 16 2002, 12:26 am
Newsgroups: comp.lang.lisp
From: "Coby Beck" <cb...@mercury.bc.ca>
Date: Wed, 16 Oct 2002 15:27:24 +1100
Local: Wed, Oct 16 2002 12:27 am
Subject: Re: How much use of CLOS?

"Peter Seibel" <pe...@localhost.localdomain> wrote in message

news:m3hefnuksq.fsf@localhost.localdomain...

> that call out for using or not using CLOS? Are there rules of thumb
> that you use such as (and these may be totally wrong, I'm just
> guessing what they might be given my limited experience): always start
> with classes and then "downgrade" to structs for performance reasons
> or vice versa, always start with structs and then "upgrade" as you
> require specific features of classes?

I think Thomas Burdick's advice is spot-on, just use classes all the time
until you have identified it as a performance problem and you know it can be
a struct instead.  Structures are way too brittle when you are still
developing your ideas.

> Or another way: given that I've spent most of my career programming in
> an an OO style, my inclination on first opening a new .lisp file is to
> to type "(defclass ...". Is that a reasonable idiomatic Lisp approach
> or is that baggage from my past that I should try to shed.

Baggage from your past!

> Apologies if my earlier post tried to get at this in a too cute, too
> eliptical, or just plain too stupid manner.

No worries...it was looking a little provocative, but thanks for clarifying
your intent.

--
Coby Beck
(remove #\Space "coby 101 @ bigpond . com")


 
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.