[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[kanderso@dino: Re: Difficulty with lambda-list congruence... ]
- To: CommonLoops.pa@Xerox.COM
- Subject: [kanderso@dino: Re: Difficulty with lambda-list congruence... ]
- From: kanderso@DINO.BBN.COM
- Date: Mon, 12 Mar 90 13:31:18 -0500
- Redistributed: CommonLoops.pa
The original version of this may not have gotten to the commonloops
list. Sorry for any duplications.
------- Forwarded Message
Subject: Re: Difficulty with lambda-list congruence...
In-reply-to: Your message of Fri, 16 Feb 90 11:44:03 +0000.
Date: Sun, 11 Mar 90 11:56:14 -0500
I recently had a similar experience converting a 130,000 line program
from AAAI PCL to Victoria day pcl. The major problem was lambda list
congruency, which forced me to edit about 100 lines of software.
Occasionally in the old system, functions were used little more as a
hook. Dispatch was only used on the first argument, and variants of
the argument lists had anywhere from 1 to 5 arguments. I don't
consider this particularly good for long term maintenance of the
I like to think of CLOS a Behavior oriented, rather than Object
oriented. Thus a generic function is an interface to some behavior,
or relationship between objects, no one object is superior to the
If you want the old behavior, you must now plan for it by providing
&rest and &key args. A little more planning, may not be so bad, at
least for the systems i work on.
------- End of Forwarded Message