13
Raku is pretty damn Cool (felix-knorr.net)
top 7 comments
sorted by: hot top controversial new old
[-] flubba86@lemmy.world 7 points 1 year ago* (last edited 1 year ago)

TL;DR

It is good for writing cross-platform scripts. It's easier and more powerful than Bash but not as heavy and cumbersome as Python.

Raku is the new name for Perl 6. They changed the name because there are backward incompatible changes in the new version, and they wanted to try to move away from the negative associations people have with Perl.

Perl has always been better than Bash at scripting, and Raku added some modern features to take that advantage further.

[-] msage@programming.dev 7 points 1 year ago

As someone who is paid for doing Perl, there is nothing on gods green earth to make me try anything even remotely related to Perl.

[-] KnorrFG@programming.dev 4 points 1 year ago

I'd be curious what you dislike about perl that is not fixed in raku.

[-] msage@programming.dev 4 points 1 year ago

I'll be honest - I never studied Roku, so I don't know much about it.

If they got rid of those magic variables, that's good enough.

Just now I looked at docs and no, they left a lot of stuff in there.

[-] DataElemental@programming.dev 1 points 1 year ago

I've never understood the frustration over magic variables. It's always sounded similar to the complaints about var declarations when people are used to explicit type declarations. Verbosity like that just reads as attenuating noise to me.

[-] msage@programming.dev 2 points 1 year ago

I'm sorry, but I don't see the parallel between my and do {local (@ARGV, $/) = $file; <>}

Even renaming standard keywords, like next and last, adding unless... There was a whole book about best practices, and I wish Perl 6 followed that to the T.

My biggest gripe with Perl is the entire dimensions of possibility to hide effects. And Raku seems to have kept a lot of it, and added more stuff on top.

[-] TheCee@programming.dev 2 points 1 year ago* (last edited 1 year ago)

I second that notion. Perl did a couple of things right compared to Python, but I'm still glad I don't have to maintain those code bases.

load more comments
view more: next ›
this post was submitted on 25 Jun 2023
13 points (100.0% liked)

Programming

17398 readers
173 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS