On Mon, Sep 03, 2007 at 06:42:15PM +0300, [EMAIL PROTECTED] wrote:
> Thanks Matthew, that's interesting. I have never heard of traits.  So 
> 'uses:' is a way of incorporating behaviour/values which don't naturally 
> inherit?

Traits are a new (as of squeak 3.9) feature of squeak, and were
added by the Software Composition Group at Bern University.
Their traits page has a bit more information:

http://www.iam.unibe.ch/~scg/Research/Traits/index.html

Traits are similar to Ruby Mixins: basic behavior patterns can
be defined in a trait then inserted into classes that have that
behavior pattern.

-- 
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
_______________________________________________
Beginners mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to