Raku is surprisingly good for CLIs - Hillel Wayne

https://buttondown.email/hillelwayne/archive/raku-is-surprisingly-good-for-clis/

18 points · 5 comments · view on lemmy.world

5 Comments

spauldo@lemmy.ml · 8 pts · 2y (4 replies)

I'm not sure why that's surprising. Raku started out as Perl 6. Perl was designed primarily for use in a shell environment. Convenience features like the arguments to MAIN bit are in line with Perl philosophy.

otl@lemmy.sdf.org · 4 pts · 2y (3 replies)

Agreed. I didn't know about these features - I've never written any Perl before - and I do find them kinda interesting and cool. But not really surprising.

A less clickbaity title might be "Exploring Raku's built-in shortcuts for CLIs" or something. Still 6 words. And I still would have clicked and enjoyed the article! Really appreciated its positive tone and clear examples!

spauldo@lemmy.ml · 5 pts · 2y (2 replies)

Oh, I've got no complaints about the article or even its title. Few people learn Perl or Raku these days so it would be surprising for most people.

I thought it was interesting myself - Perl's my go-to scripting language but I never used Raku. I might consider it next time I have a non-trivial scripting project.

technom@programming.dev · 1 pts · 2y

What makes Perl or Raku interesting? What are some applications where they are the ideal languages?

bnjmn@programming.dev · 1 pts · 2y

As someone who picked up Raku without knowing anything about Perl (besides the fact that it had something to do with regex), it was a little surprising :)