user-pic

KES

Subscribe to feed Recent Actions from KES

  • Randal L. Schwartz commented on Don't use until, unless...

    Just really avoid "unless... else". That's... just.... wrong.

  • Aristotle commented on StackOverflow that!

    Sure, feel free. 😊

  • Peter Edwards commented on The Future of Perl 5

    +1 to OO classes and optional type checking in core. It would save time, effort and errors, and give more standardised, readable code (while still letting you TIMTOWTDI)

  • Erez Schatz commented on The Future of Perl 5

    I gave it much thought before, mostly when I wondered why did so much effort was given to something like "postfix dereferencing" that is nothing more than syntactic sugar (or, to my taste, syntactic salt) rather than a proper object system, Class::MOP or otherwise.

    In other words, since the perl5porters is a small, focused team of volunteers …

  • Duncan White commented on The Future of Perl 5

    Hi Ovid, your LRU example is indeed lovely syntax, I'd certainly use it - and I'm not a Moose user, I like the original bless-based Perl 5 object system. For my own amusement, I wrote a bless-based version. It's shorter than your original Moose version, although of course I had to write a new function which Moose does for you.

    But is anyone likely to implement "class" syntax in Perl 5 anytime soon? If not, it's just a pipe dream, isn't it?

    Finally, I note that the "method" syntax is already available in Perl 5 via either Method::Signatures or (my preference) Function::Para…

Subscribe to feed Responses to Comments from KES

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.