Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
Out of curiosity, why aren't you using traits?
[ ] I don't understand traits.
[ ] I've never heard of traits.
[ ] I prefer multiple inheritance or mixins.
[ ] Single inheritance is good enough for me.
[ ] I don't know of a robust/good Perl implementation.
[ ] Traits are bad, m'kay.
[ ] Other _______________.
Would you be interested in learning more about traits or do you think they're just another silly buzzword? If you are interested in traits, what would it take to get you to start using them?
One thing I've noticed about traits is that most discussions of traits seem to revolve around examples which don't really match up with what people need in the real world. This, curiously, is the same problem that many beginning OO examples have. As a result, people learn about OO and often say "why bother?" I think the same problem affects traits despite how useful they are.
using traits (Score:1)
Be Appropriate && Follow Your Curiosity
Re:using traits (Score:1)
'Course! (Score:2)
Traits? (Score:1)
I'll have to fall in the "I don't understand traits" camp. I've heard of them, but I've never had a reason to study them before. I have the paper you referenced and I'll read it soon.
To start using them I guess I need a reason to write some code and a few practical examples to see how they're implemented and used in Perl.
Der Eisbär ist mein Freund.
Re:Traits? (Score:1)
Not ready to deal with them... (Score:1)
In Perl6 where it will be built in to the language and probably form part of standard idioms it seems well worth learning, for Perl5 it isn't yet on the top of my list of stuff to learn and it isn't worth the hassle of really grokking what they do and if there's an implementation (which I gather there is) yet.
osfameron
Re: Poll: Why aren't you using traits? (Score:1)
Re: Poll: Why aren't you using traits? (Score:2)
So far you're the only person to give that answer. May I ask why you prefer it?
Re: Poll: Why aren't you using traits? (Score:1)
I've never use traits. From what I read about it, it's yet another band-aid to supposedly fix what's wrong with multiple inheritance. IMO, there's nothing wrong with MI (except that people keep writing constructors that initialize objects, making it hard to do MI - but that's not the fault of MI, it's the programmers that need to meet Mr. Clue by Four). MI is good enough for me - no reason to use traits, or mixins, or what
Traits? (Score:2)
Other (Score:1)
- runtime additions
- green light on production
Love the idea!
Ordinary morality is for ordinary people. -- Aleister Crowley
now that I've read a bunch of the Traits paper... (Score:1)