Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • 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'

    • 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)?

      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

      • 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 trivial!

        OOP is hard, or I would say very Hard. Perl via Moose makes it reasonably hard.
        And compared to what Moose have to offer, I would say, Java doesn't make OOP any less harder!

        Finally, Perl is a different game than Java, I like what people were able to build using Java, but I like Perl for what it make possible for me to build!

        • So by using Moose you overcome the problem you talked about in your post: that [Perl 5] by default is not optimized of OOP.

          Moose isn't part of Perl 5 by default. I want nicer defaults.