<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 1, 2014 at 10:00 PM, Pascal J. Bourguignon <span dir="ltr"><<a href="mailto:pjb@informatimago.com" target="_blank">pjb@informatimago.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Jean-Claude Beaudoin <<a href="mailto:jean.claude.beaudoin@gmail.com">jean.claude.beaudoin@gmail.com</a>> writes:<br>

<br>
> So my question is: Which one is right?<br>
<br>
</div>I'd note that this is a major problem of how OO libraries or<br>
frameworks are defined.  They very rarely specify or give any guarantee<br>
of when or whom will send a given message to a given object.<br>
<br>
This makes indeed difficult to subclass and override methods in a sturdy<br>
way.<br>
<br>
This is probably a reason why OO programmers nowadays tend to distance<br>
themselves from inheritance (using so called "flat" hierarchies), and<br>
like "final" methods a lot, which basically denies OO itself.<br>
<br>
<br></blockquote><div><br></div><div>Which is a real shame, because Gregor et al wrote some excellent</div><div>rules on how to design protocols well in the face of things like</div><div>inheritance and method combination. I think this is all in AMOP.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Otherwise, for your question, you didn't mention any metaclass.  I'm not<br>
sure about it, but I would expect such methods from AMOP to be used<br>
consistently only when you define your own metaclasses.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
__Pascal Bourguignon__                 <a href="http://www.informatimago.com/" target="_blank">http://www.informatimago.com/</a><br>
“The factory of the future will have only two employees, a man and a<br>
dog. The man will be there to feed the dog. The dog will be there to<br>
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk<br>
<br>
_______________________________________________<br>
pro mailing list<br>
<a href="mailto:pro@common-lisp.net">pro@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/pro" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/pro</a><br>
</font></span></blockquote></div><br></div></div>