Julian Fitzell wrote:
Yes. This is one of my favourite possible uses for traits. This is basically what Ruby lets you do with its Enumerable module (though it does it with mixins): http://www.rubycentral.com/book/ref_m_enumerable.html
Can anyone tell me what the difference is between mixins and traits? I'm currently building a website using Ruby-on-Rails (though I'd probably have been happier with Seaside if Squeak ran on my architecture), and mixins as implemented in Ruby seem to answer all the questions that multiple-inheritance fans ask.
Also, when *will* traits make it into the standard image?
../Dave