[sf-perl] Real perl

Dodger el.dodgero at gmail.com
Wed Apr 11 03:38:26 PDT 2012



Sent from my iPhone

On 10/04/2012, at 3:56 PM, Jeffrey Thalhammer <jeff at imaginative-software.com> wrote:

> 
> On Apr 9, 2012, at 3:19 AM, Dodger wrote:
> 
>> So... How about some old school perl without mooses and meeses?
>> 
>> Anybody out there code in... You know... Perl?
> 
> Not here.
> 
> The Pinto project was my first deep-dive into Moose.  Now I won't do anything without it.  Here's why:
> 
> Economy:  Moose greatly reduces the amount of code I have to write and test.  Less code means fewer bugs.  And the remaining bugs that I do create are a lot easier to spot when the aren't swimming in a sea of getters/setters and other loosely related methods

sub AUTOLOAD {}

Who writes accessors?

> Organization: Roles, type definitions, and meta extensions each give me convenient "compartments" for my code.  Each compartment is isolated, reusable, and testable.  I find this much faster to write and easier to use than piling everything into traditional classes.

I don't see any issue with this in Perl.

> Community: The MooseX namespace has a ton of wonderful extensions.  The've solved problems for me that I didn't even know I had.

CPAN has been doing that for almost 2 decades.

> -Jeff
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20120411/05836b51/attachment.html>


More information about the SanFrancisco-pm mailing list