Grokbase
x

Re: AttributeHelpers naming (again)

View PostFlat  Thread  Threaded | < Prev - Next >
autarch Re: AttributeHelpers naming (again)
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
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)
============================================================*/

Thread : AttributeHelpers naming (again)
1)
Hans Dieter Pearcey I hate to keep coming back to this, but I'm unsettled and unemployed, so I might as well keep at it...
2)
Stevan Little I think we have 3 categories of things, at least in my mind ... 1) Low-level immutable data...
3)
Chris Prather Damnit, google turned off my Reply to All ---------- Forwarded message ---------- From: Chris...
4)
Stevan Little Yeah, a Stack and Queue would be really useful too. I totally agree. Perhaps we need 2 different...
5)
autarch I definitely like the distinction, especially since it opens up the Pattern:: space to other...
6)
Hans Dieter Pearcey Do not forget to distinguish between full names It may be reasonable for 'ArrayRef' to be the...
7)
Chris Prather rayRef' DataStructure:: is fine if the registerd version doesn't require typing DataStructure::...
8)
Stevan Little Very good point actually. I think we should split the categories by their intentions ... Structural...
9)
Jesse Luehrs So... why stop there? Since we're redoing API anyway, what about this idea: the Structural items...
10)
Stevan Little Well, seems like taking it too far to me, at least for core. Because while interesting, it really...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >
Home > Groups > Moose > AttributeHelpers naming (again) (10 posts) > View Post