Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: In praise of Perl's object system.

by phaylon (Curate)
on Sep 20, 2010 at 17:24 UTC ( #860900=note: print w/ replies, xml ) Need Help??


in reply to Re: In praise of Perl's object system.
in thread In praise of Perl's object system.

I can't say I agree. Perl 5's object orientation is high enough that you don't have to drop out of Perl 5 to extend it (for most things), and low enough that it doesn't trap you in any specific way of doing things. That's very perlish to me.

If it weren't this powerful, we wouldn't have Moose today, but whatever people thought OO should be like when Perl 5 first got it.


Ordinary morality is for ordinary people. -- Aleister Crowley


Comment on Re^2: In praise of Perl's object system.
Re^3: In praise of Perl's object system.
by Your Mother (Canon) on Sep 20, 2010 at 18:03 UTC

    This is exactly what I was thinking: A) the OO system in Perl5 is very Perlish to me and B) the low-level, flexible, "incompleteness" of it is the only reason we had a chance to arrive at a kit as cool and modern as Moose.

      Right. And if one checks out MooseX::* on CPAN, it becomes evident that Moose itself is still developing and advancing. And since Moose itself is a library, updating it independently from Perl is a big win as well. I don't need to upgrade Perl and my whole ecosystem just to use a newer or better MooseX extension. Not mentioning the fact that Moose is optional, and its overhead can be skipped by falling back to pure Perl OO or lighter OO libraries when required. It all makes my job easier :)


      Ordinary morality is for ordinary people. -- Aleister Crowley

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://860900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2014-08-30 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls