<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 3, 2014 at 12:50 PM, Pascal Costanza <span dir="ltr"><<a href="mailto:pc@p-cos.net" target="_blank">pc@p-cos.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class=""><br></div><div>- One reason why the change from slot name to slot definition metaobject was made is that it allows for better optimization of standard slot accesses that don’t need to go through user-defined methods on s-v-u-c and friends. In LispWorks, you need one extra step to invoke user-defined methods - you have to specify that slot access should not be optimized. In your example, the class definition for ‘foo should look like this to achieve this:</div>
<div><br></div><div><div>(defclass foo ()</div><div>  ((a :accessor foo-a :initarg :a)</div><div>   (b :accessor foo-b :initarg :b))</div><div>  (:metaclass tracked-class)</div><div>  (:optimize-slot-access nil))</div></div>
<div><br></div></div></blockquote><div><br></div><div>I see.  And are you cool with the pervasive opt-out nature of this :optimize-slot-access option?<br></div><div>Looks pretty much like a quite clear rejection of the MOP slot protocol to me.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div>...<br><div><div class=""><blockquote type="cite"><div>If they do then the CLOS subcommittee would be vindicated.<br>
</div></blockquote></div></div><div><br></div><div>That’s exaggerated. The AMOP book has a foreword to the specification which clearly states that this is preliminary work. Unfortunately, the foreword is not reproduced in the HTML version. Here is the text, to put things in perspective:</div>
<div><br></div><div><div style="margin:0px">...</div></div><div><br></div><div>Personally, I don’t believe that forward-referenced-class or ensure-class-using-class are the most important areas that need fixing. There are other issues that are more relevant.</div>
<div class=""><div><br></div><br></div></div></blockquote><div><br></div><div>Quite of a cliffhanger you've done here!  Are we going to be treated with a sequel on the very subject of those issues?<br><br> <br></div></div>
</div></div>