stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

should classes be closed by default? #91

Closed doy closed 11 years ago

doy commented 11 years ago

Currently they aren't, but I think it'd probably be a good idea. 99% of Moose classes call make_immutable, and so I think optimizing for the common case here would be a good idea. This would also require replacing is closed with is open for the remaining cases.

stevan commented 11 years ago

My name is @stevan and I endorse this message!

doy commented 11 years ago

So this is actually difficult at the moment, because metaclasses don't use the mop mro. I'll revisit this after we redo the mro stuff in #90.