[Pdx-pm] Poll: traits

Austin Schutz tex at off.org
Sat Nov 19 12:48:36 PST 2005


On Sat, Nov 19, 2005 at 11:47:17AM -0800, Kris Bosland wrote:
> 
> On Sat, 19 Nov 2005, Eric Wilhelm wrote:
> 
> > What I love about perl's oo is that we really don't need all of the
> > formalisms that appear in other languages.  What I hate about it is
> > that I don't understand the jargon that appears when people start
> > talking about languages with less casual OO constructs.
> >
> > "A trait is essentially a group of pure methods that serves as a
> > building block for classes and is a primitive unit of code reuse."
> 
> I would like to see a comparison chart between different things, and maybe
> why people get all hot about them:
> 
> trait
> role
> mixin
> aspect
> interface
> duck typing

	duck typing sounds a lot like the monty python episode where they're
instructing you how to identify trees from long, long distances away.


	Austin


More information about the Pdx-pm-list mailing list