This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GOOPS plans
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> Marius Vollmer <mvo@zagadka.ping.de> writes:
>
> > Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> >
> > > However, references to slots will be taken over by the accessors.
> >
> > I think it should be possible that the slot metaobject and the
> > accessor are one and the same object. Whether that buys us anything,
> > I don't know, but it would look kinda nice to me.
>
> How do you mean? I presume you now talk about the accessor method.
Yes.
> Note that the slot definition object contains several pieces of
> information, not only connected to slot access. It may also contain
> lots of extra stuff, depending on the metaclass.
Yes, it should be possible to derive a slot-object from <method> or
something and add the missing pieces.
> We might also want to create multiple accessors per slot...
Hmm, I would regard them as multiple slots then that happen to share a
storage place.
But I don't see the advantage of unifying slot-objects and
slot-accessor-objects. Just a thought.