<div class="gmail_quote">On Mon, Mar 17, 2008 at 7:07 AM, Oscar Nierstrasz &lt;<a href="mailto:oscar.nierstrasz@gmail.com">oscar.nierstrasz@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi Rob,<br>
<br>
What you say seems to make sense, but it is hard to tell without<br>
looking at some code.<br>
<br>
There are some simple examples of traits in Chapter 5 of Squeak by<br>
Example.<br>
<br>
<a href="http://SqueakByExample.org/SBE.pdf" target="_blank">http://SqueakByExample.org/SBE.pdf</a></blockquote><div><br class="webkit-block-placeholder"></div><div>Thanks, Oscar...and there it was, right in front of me all along.&nbsp;</div>
<div><br class="webkit-block-placeholder"></div><div>&quot;A trait is a collection of methods that can be included in the behaviour of</div><div>a class without the need for inheritance. This makes it easy for classes to</div>
<div>have a unique superclass, yet still share useful methods with otherwise</div><div>unrelated classes.&quot;</div><div><br class="webkit-block-placeholder"></div><div>This may just be what I was looking for!</div><div>
<br class="webkit-block-placeholder"></div><div>Thanks again,</div><div><br class="webkit-block-placeholder"></div><div>Rob</div></div>