Live data from Hacker News

A Complete Course of the Raku programming language

course.raku.org

51–60 of 110 posts

Re: A Complete Course of the Raku programming language

#51

This language looks cool! I also really like the page-by-page format for the tutorial, which strikes exactly the right balance (for me) between giving too little and too much info. As a side note, I noticed that the "Notes on using Unicode" page[1] referred to the quotation marks used in kanji-based languages[2] as "fancy." I think this kind of exotification of non-western cultures (where mundane things become exciti…

That is useful feedback. As far as I know, Raku docs have changed in the past to remove cultural in-jokes or smells.

Re: A Complete Course of the Raku programming language

#52

Raku is a seriously cool programming language, but it is still not at the level to where I'll put in learning effort past all the tutorials I've read in the past. When it reaches maturity, I could see myself using it in some hobby projects. It seems like it has a good bit of the power you see in languages like Smalltalk, but in a more accessible package.

I haven’t used Raku for anything big, but I do use it for a lot of small projects. I find the expressiveness great and I can get things done with minimum fuss. It’s especially good for command-line tools where a MAIN function gives a CLI with parameters and autogenerated usage.

Re: A Complete Course of the Raku programming language

#53
post #42

Earlier quoted context omitted.

Learning Perl is worthwhile because it is ubiquitous on Unix-like systems and Perl-compatible regular expressions are the defacto standard regular expression syntax. Perl may not be as popular now as it was in the past, but it is still around and lots of legacy systems that were written in Perl are still in active use.

But as Perl-compatible regular expressions are available in many other languages, this is not really a reason for learning Perl itself, right? Or am I missing some deeper insight into regexes, because I don't know Perl?

That's true, but it's worth mentioning that using the regexes in perl is quick and even fun to write. They are built-in to the language. some people find it very convenient.

Re: A Complete Course of the Raku programming language

#56
post #23
post #6

Earlier quoted context omitted.

Is Perl/Raku widely used these days? Are they worth learning? I've always been curious about those languages but I've had the impression that people are moving away from them.

In general no, but between the two: Raku is essentially used in nothing, so your time would be better spent learning Perl.

> Raku is essentially used in nothing, so your time would be better spent learning Perl.

Only if your goal is to be able to work on legacy codebases. Learning a cool language in itself is cool.

Re: A Complete Course of the Raku programming language

#57

Is there a one-page version of this? Or at least with support for ← and → keys for page navigation. It's basically impossible to skim this course or to jump around it quickly. Edit - here's a GreaseMonkey script for the arrow navigation between the pages. Right arrow - next page, Left arrow - previous page. https://pastebin.com/uQMWyfq0

Thank you very much; works great.

Re: A Complete Course of the Raku programming language

#58
post #6

Sadly only first part is complete. Raku is the much more functionally inspired new Perl. It’s the renaming of Perl 6 and means “camel” or “paradise” in Japanese.

Is Perl/Raku widely used these days? Are they worth learning? I've always been curious about those languages but I've had the impression that people are moving away from them.

Really, probably not. Perl was mind blowing, productive, and super fun when your only other choices were C/C++ and bash/sed/awk. Most people eventually realized that There’s More Than One Way To Do It makes for code maintenance nightmares.

Re: A Complete Course of the Raku programming language

#60
post #8

I'm so glad they renamed Perl 6, having it dangling for decades like a Sword of Damocles hurt Perl more than anything else could. At least both languages are now able to progress in their separated ways, and I must say Raku is a really pleasant language, and a joy to use.

I'm going to butcher my question so my apologies, I've heard Perl described as a sort of linguist / grammatical type of language, where you can solve the same problem using multiple approaches and syntax. Is this something Raku is drifting from or embracing? I think Raku is kind of interesting and I did try it out a few times whilst it was called Perl 6, but I'm not sure what its niche is. I mostly do Python for prof…

> I've heard Perl described as a sort of linguist / grammatical type of language, where you can solve the same problem using multiple approaches and syntax. Is this something Raku is drifting from or embracing?

Very much embracing – "turning up to 11" might be a better way to put it. I recently wrote a three-part blog series[0] about what Raku's primary values, and the more-than-one-way-to-do-it idea features prominently in that list.

[0]: https://www.codesections.com/blog/raku-manifesto/

Post reply on HN