I have read all about Traits and I'm eager to try them out, but the default browser (Squeak4.1-9885-beta) doesn't seem to be aware of them - what am I missing? What are developers using traits using?
Thanks. Sean
On 4/15/2010 7:58 PM, Sean P. DeNigris wrote:
I have read all about Traits and I'm eager to try them out, but the default browser (Squeak4.1-9885-beta) doesn't seem to be aware of them - what am I missing? What are developers using traits using?
What level of "awareness" are you looking for? There's no special support required to use or define traits. I think OmniBrowser might have some highlighting for traits methods so you could try installing it and see if that suits your awareness needs.
Me, I stay away from multiple (implementation) inheritance. In my experience, multiple inheritance creates more problems than it solves. Good luck.
Cheers, - Andreas
Teleplacer wrote:
What level of "awareness" are you looking for?
Well, I want to be able to see which traits are used by which core classes, so that I can learn about traits. And, I want to be able to view my own classes that will use traits either flattened (which is all I see now), or expanded into the component traits.
Teleplacer wrote:
I think OmniBrowser might have some highlighting for traits methods so you could try installing it and see if that suits your awareness needs.
I'll check that out, thanks.
Sean
beginners@lists.squeakfoundation.org