NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Third party modules (Score:1)
Although I more or less accept your argument that we need to be bolder in evolving Perl 5, I think you've contradicted yourself a little bit.
You're trying to give examples that are real world, but in the real world (at least in Java and Perl), pretty much all code is going to need to rely on third party libraries, so you need some sort of dependency management system. Both Perl and Java have massive codebases to draw from, much of it open source.
So a real Java programmer is going to write classes, but they're probably also going to compose their app using Spring. Which means they either need to hack an Ant script, or configure a Maven project. Neither of which is trivial (well, configuring a basic Maven project is trivial, but trying to do anything outside the One True Maven Way is not).
The fact that so much of the Java world depends on Spring, and that most of the apps written using Java these days wouldn't be sane without it doesn't seem to bother the Java community. Why are some people so bothered that modern Perl apps need to depend on Moose (or some other framework, e.g. Catalyst, DBIx::Class, or what have you)?
Reply to This
Re: (Score:1)
I don't understand the connection to what I wrote.
My question is, and remains, Is there no value in adopting Perl 6 syntax and semantics where they are clearer and more intention-revealing and simpler than Perl 5 syntax and semantics?
Yes, a novice Perl programmer can download and install Moose and autobox and this and that to make his life easier, and he ca
Re: (Score:1)
The connection is obvious. Moose is optimized (or optimizes Perl5) for Object Oriented Programming.
So by using Moose you overcome the problem you talked about in your post: that Perl5 by default is not optimized of OOP.
And I would like to highlight one important characteristic of Perl, Perl is supposed to make things easy: Easy things -> Trivial, Hard Things -> Easy and Very Hards Things -> Reasonably hard.
Printing hellow world, is easy, therefore should be trivial. Java doesn't make it trivi
Re: (Score:1)
Moose isn't part of Perl 5 by default. I want nicer defaults.
Re: (Score:1)