go ahead... be a heretic | |
PerlMonks |
Re^5: Some thoughts on Moose Attributesby BrowserUk (Patriarch) |
on May 02, 2011 at 02:35 UTC ( [id://902424]=note: print w/replies, xml ) | Need Help?? |
So, you didn't comment on the second of my ponderables: can Moose live with direct access to state as hash elements of $self? Hm. The simple answer is: I don't know. The more thoughtful answer is, if I am not going to use the generated accessors; and I see no use for the introspection, what would I get from Moose? It cannot generate my non-accessor methods for me, so nothing to gain there. And one of Moose' strongest features is that it will inter-operate, subclass and superclass, bog standard blessed ref classes. So, I don't need to use Moose in order to benefit from existing moose-based modules. At that point, your ponderable becomes a moot issue. (For me.) Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|