Re: Re: confirmation on :default-initargs not working?

Kenny Tilton <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>

Frode Vatvedt Fjeld wrote:
> Kenny Tilton <[email protected]> writes:
> 
>  > No one has responded/reacted to this from yesterday (or the night
>  > beore?):
> 
> Again, I haven't examined Corman Lisp's sources, but I don't think
> :default-initargs is implemented in Closette, so I wouldn't be
> surprised if it simply isn't implemented yet in Corman Lisp either.

OK. I think you are right.

To the vendor:

The Case for :default-initargs
-------------------------------
Wow. Just checked the source of the CliniSys system, which includes a 
homebrewed GUI--looks like over two hundred occurrences of 
"default-initargs". Don't know how many slots were addressed by each 
:d-i. Why so many?

Sometimes when I subclass I want to tailor it by supplying a specific 
form for some slot defined in a superclass (direct or indirect). With 
Corman Lisp as it stands, I have to restate the slot so I can supply the 
tailoring form as the initform of the slot. Not good. And now if I want 
to modify that slot definition...etc etc.

I get into this a lot because Cells promote object reuse. I can get
custom behavior out of a relatively generic class by supplying
custom rules for a core set of generic slots. I /could/ bypass the :d-i
mechanism and make functions such as make-instance-of-oddball in which 
custom initargs were supplied to make-instance, but then it's not CLOS 
anymore.

-- 

  kenny tilton
  clinisys, inc
  http://www.tilton-technology.com/
  ---------------------------------------------------------------
"Cells let us walk, talk, think, make love and realize
  the bath water is cold." -- Lorraine Lee Cudmore



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.