this post was submitted on 01 Nov 2023
19 points (91.3% liked)

Programming

17354 readers
392 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 [email protected]



founded 1 year ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (1 children)

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.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

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!

[–] [email protected] 5 points 1 year ago (2 children)

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.

[–] [email protected] 1 points 1 year ago

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 :)

[–] [email protected] 1 points 1 year ago

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