[pro] Initialization of shared slots
Daniel Weinreb
dlw at itasoftware.com
Thu Jan 6 21:29:32 UTC 2011
Daniel Weinreb wrote:
> This conversation has been good. I agree with both Svante
> and Scott.
>
> As is often the case with the spec, it is not quite unambiguous.
Oh, and I meant to say that I'm not sure the spec is 100%
clear on which forms are evaluated v. not evaluated, and
whether there are any guarantees on the order of
evaluation.
Also, Didier saw that slots were being initiatlized
before the initialize-instance method is called,
whereas the spec seems to be saying that
the default initialize-instance method takes
responsibility for doing that, in 7.1:
"The slot-filling behavior described above is implemented by a
system-supplied primary /method/
<cid:part1.05080707.08000505 at itasoftware.com> for *initialize-instance*
<cid:part2.00040607.08020702 at itasoftware.com> which invokes
*shared-initialize* <cid:part3.06000701.07020506 at itasoftware.com>."
-- Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20110106/8c809f13/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20110106/8c809f13/attachment.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20110106/8c809f13/attachment-0001.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20110106/8c809f13/attachment-0002.htm>
More information about the pro
mailing list