Live data from Hacker News

Ask HN: Perl 6: Do you use it, how do you like it, what do you do with it?

news.ycombinator.com

161–163 of 163 posts

Re: Ask HN: Perl 6: Do you use it, how do you like it, what do you do with it?

#162
post #4

I write Perl 5 for a living, we have Perl 6 installed here and I occasionally use it for one-liners[1] that are much less verbose than Perl 5 or most other languages. But nothing else. 1. https://github.com/dnmfarrell/Perl6-One-Liners

Cool Perl6 oneliners .. I like it. Put it more

Re: Ask HN: Perl 6: Do you use it, how do you like it, what do you do with it?

#163
post #131
post #72

Earlier quoted context omitted.

The OO part is actually one of the tiniest of changes. You can get basically the same thing in Perl 5 by using Moose. It has signature, and subsignature parsing, built-in concurrency, not to mention over a dozen other features that are not in Perl 5. The main reason it is called Perl 6 is how the project began. It started out as Perl 5 minus a few warts. As someone who well versed in both, they are very similar, and…

Perl was my goto language for over 10 years but I lost my patience with the Perl6 for Christmas meme around 2013 by which time Ruby was a much better proposition. If the Perl5 community had finally found a way to adopt a MOP they might have had a chance of competing with Ruby and Python. I also feel Perl might have had better adoption in web development if the community had rallied round Mojolicious instead of Cataly…

Catalyst routing isn't via subroutine signatures, it's via attributes, which are similar to decorators in Python and Typescript/ES7+ and whatever other languages have them.

Mojolicious is a much younger project than Catalyst, started by the original developer of Catalyst several years after he left the project, So the chronology doesn't work out - by the time Mojolicious showed up, Catalyst was already very well established as the serious Perl web framework.

Although for devs who wandered back to Perl from Rails, Node, Python or elsewhere, Mojolicious has a lot to offer.

Post reply on HN