p5-mop-redux
p5-mop-redux copied to clipboard
do we want to factor more common bits out of the core mop classes?
This is slightly related to #95. There are a lot more things that metaclasses have in common than just the fire
/bind
stuff - class, role, attribute, and method all have name
, class and role have version
and authority
, attribute and method have original_id
and associated_meta
, etc. It seems like a lot of this could be factored out into roles, to remove a lot of duplication.
Yes, this makes sense, however we need to be careful about how much work we are adding to the bootstrap, it could cause performance issues.