(by the by, I joined the fun and accepted the Perl Iron Man Challenge.)
As assiduous readers of my blog may recall, last year I gave a 35 minutes Perl introduction at OSBootCamp 8. For unphantomable reasons, I've been asked to come back and recidive for FOSSLC Summercamp 2009, which is happening on the 13, 14 and 15 of May.
This time, my talk is going to be an introduction to Moose. Why Moose? Since my goal is to hook unsuspecting students on Perl, I figured the easiest way to tip them to the dark side would be to show those java-tainted young minds the latest and shiniest OO coolness that the Perl community has to offer.
Sorry, what? ... Didn't I mention in a previous blog entry that I prefered Object::InsideOut over Moose?
Ah... Hum... Well, yes, true, I might have said that... (darn those assiduous readers)
Mind you, I still think that Object::InsideOut is a very fine module indeed, but several things made me progressively slide in the Moose camp:
Moose has an incredibly strong momentum in the community.
Notwithstanding the fact that when so many bright people get excited about something, it's usually for a good reason, it also means that Moose development is thriving. And not only core development, but extensions are by now abounding.
And this, for my little lazy heart, is true bliss. The MooseX namespace is quickly growing into a mini OO-CPAN.At the time, I was arguing with Yuval that I had no need for those cute 'before' and 'after' method modifiers. Ah! That was before I seriously tried using them...
Roles. Those things are dangerously addictive. And they do such a damned good job of simplifying one's code.
MooseX::Method::Signatures, Moose types, coercion, and the myriad of other things that all work together to move the tedious bits of coding out of the way, and to fragment the good parts into small, easy to understand/maintain pieces.
Meta-programming. Pure mad scientist type of fun. How can I possibly resist?
So yeah, I call on my right to change my volatile mind. Color me a new Moose adept. And, hopefully, I'll similarly be able to color some more converts this Friday. Wish me luck.
Hope you manage to convert a few. Glad to have you part of the Moose community