[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: class updating protocol
Date: Fri, 29 Jan 88 08:11:20 CST
From: Patrick H Dussud <DUSSUD@jenner.csc.ti.com>
Does update-dependent call update-dependent on its dependents, or is the
dependent structure flat? This probably needs to be specified.
The dependent structure is flat.
Why does finalize-inheritance have to do its work by calling
(UPDATE-DEPENDENT class class)? It seems backward to me. Why can't
UPDATE-DEPENDENT call (FINALIZE-INHERITANCE dependent),
and FINALIZE-INHERITANCE do the slot and CPL computation?
The idea was that finalize-inheritance was a stupid function the user
could call. Update dependent is a function that gets called with
keyword arguments telling it what happened. When it gets called with no
keyword arguments it means "something happened just make sure everything
is OK". Users could add keywords to the list it gets called with to
make it even smarter.