<div dir="ltr"><div class="gmail_default" style="font-size:small">David,</div><div class="gmail_default" style="font-size:small">Your answer was very helpful. It enabled me understand Smalltalk better.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">#newStandAlone is implemented in #Morph with the expectation that the method #initializeToStandAlone will be overridden in subClasses. The comment in the method is long and I did not understand it. I still don't quite understand why the same behavior cannot be implemented in #initialize.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">By reviewing the implementors of #newStandAlone, I see that the behavior is required(?) to create an object that can be used in a PartsBin(Flap?), but not all classes assign the method to the category #partsbin; it also appears in the categories #initialization and #miscellaneous (which should ideally be changed for consistency, which I would be happy to do if appropriate).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">-jrm</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 8:08 AM David Shaffer <<a href="mailto:cdshaffer@acm.org">cdshaffer@acm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>This isn’t much help but….</div><div><br></div>Just browsing implementors of #newStandAlone and then #initializeStandAlone (send from #newStandAlone), it looks like it has to do with creating an “example” morph that can “stand alone” in a parts bin.  Some morphs definitely act differently in the parts bin (like the trash morph).  To see the difference in one example, look at StringMorph’s #initialize vs #initializeStandAlone and note the differences between:<div><br></div><div>StringMorph new openInWorld.</div><div>StringMorph newStandAlone openInWorld.</div><div><br></div><div>David</div><div><div><br><blockquote type="cite"><div>On Jul 25, 2019, at 10:59 AM, John-Reed Maffeo <<a href="mailto:jrmaffeo@gmail.com" target="_blank">jrmaffeo@gmail.com</a>> wrote:</div><br class="gmail-m_-2592274876246952537Apple-interchange-newline"><div><div dir="ltr"><div class="gmail_default" style="font-size:small">What is the difference between these new messages? I created objects using both and I don't see anything different other (object number ?)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Morph(1309470)  < new<br></div><div class="gmail_default" style="font-size:small">Morph(364522)  < newStandAlone<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">-jrm</div></div>
_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div>