On Thu, 2 Jul 2009, Stevan Little wrote:

has foo => (traits => [ 'Basic::ArrayRef' ], isa => ArrayRef, ...);

has web_hits => (traits => [ 'Pattern::Counter' ], ...);

As long as the traits are below the right Moose::*::*:: namespace we should be good.

Thoughts? Objections? Calls for my assignation?

(NOTE: I am not sold on these names (Basic, Pattern) they are only suggestions of how we cna break things up)

I definitely like the distinction, especially since it opens up the Pattern:: space to other interesting extensions.

As far as names, I don't much like Basic. Maybe DataStructure? That's what it really is, right? I'd not that Queue and Stack would then be data structures, not patterns.

Pattern works for me, though I could imagine there's something better.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to