Hacker News new | ask | show | jobs
by VeronicaX11 1981 days ago
I literally clicked on this thinking "Neat! Let's try something new" until I remembered it's just perl rebranded... unless i'm missing something?
2 comments

I think that in some ways the semantics of Raku are closer to Ruby than to Perl5. https://docs.raku.org/language/rb-nutshell is a ruby-to-raku walk through. Among other things, Raku has first-class Roles that I think Ruby should consider adopting. In Raku the sigils (symbols prefixing variables) give an immediate indicator as to a general role that the variable implements -- so $ for single-values, @ for lists, % for dictionaries (hashes), & for callables. That adds a lot of "noise" that makes Raku look different, but under that it is like a lot of modern dynamic OO languages ... lots of objects and method invocations with a few JSON like built in types.
If you insist on comparing it to Perl, you could consider it "Perl Re-Imagined". Just like "The Lord Of The Rings" is a re-imagination of "The Hobbit".
I do have to say i'm rather impressed after your comment inspired me to look at the docs for the first time.
> If you insist on comparing it to Perl, you could consider it "Perl Re-Imagined". Just like "The Lord Of The Rings" is a re-imagination of "The Hobbit".

The Lord of the Rings is a sequel to The Hobbit, rather than a re-imagining. Of course there was a bit of re-imagining necessarily involved, much like the relationship between Star Trek: The Original Series and it's sequel The Next Generation.

As a Tolkien aficionado, Larry Wall I think knew what he was saying when he made this comparison. I think that if you compare https://en.wikipedia.org/wiki/The_Hobbit#Plot with https://en.wikipedia.org/wiki/The_Lord_of_the_Rings#Plot, you'll get an appreciation as to what Larry Wall meant.
Are you attributing the comparison in your comment to Larry Wall?