On Jun 28, 2009, at 7:03 PM, Dave Rolsky wrote:
On Fri, 26 Jun 2009, Stevan Little wrote:
* I just took a look at Bag for the first time, and it's not a
bag, it's a CountingHash (CounterHash, HashCounter?). A bag is a
multi-set (like a set, but allows dupes). Now is a good time to
rename it.
I think that Bag and Counter should be left off the cored version.
The cored version should only be "native" perl types and not
others. We can make a MX::AH::Extensions or something. Which brings
me to the next point, which is that we should rename this.
AttributeHelpers was a bad name and this is the perfect time to
rename it. I don't really have a good suggestion for a name right
now, but something involving "Native" and "Delegation" would work
for me.
Thoughts?
I disagree on leaving out some modules. We might as well borg all
the ones that exist currently. Counter is damn useful as is, and
incredibly trivial. Bag is misnamed, but I can see it being useful
(under a new, correct name).
I don't see what we gain by drawing a bright line between native
perl types and not (and ImmutableHash isn't really a native type
either!).
Yeah this all made much more sense in my head when I was pushing for
the Native namespace thing, but after much bikeshedding we basically
decided to let Dieter decide on the namespace and last I recall Native
was not going in it. Soooo, yeah sure, lets leave Counter and a
renamed Bag in there.
- Stevan