v0.5 marks the official end of alpha! With the new version, all of the content I wanted to put in the book is now present, and all that's left is copy

Five Unusual Raku Features

submited by
Style Pass
2024-11-12 22:00:07

v0.5 marks the official end of alpha! With the new version, all of the content I wanted to put in the book is now present, and all that's left is copyediting, proofreading, and formatting. Which will probably take as long as it took to actually write the book. You can see the release notes on the leanpub page.

Last year I started learning Raku, and the sheer bizarreness of the language left me describing it as a language for gremlins. Now that I've used it in anger for over a year, I have a better way of describing it:

This is why it has five different models of concurrency and eighteen ways of doing anything else, because the point is to see what happens. It also explains why many of the features interact so strangely and why there's all that odd edge-case behavior. Getting 100 experiments polished and playing nicely with each other is much harder than running 100 experiments; we can sort out the polish after we figure out which ideas are good ones.

Junctions are "superpositions of possible values". Applying an operation to a junction instead applies it to every value inside the junction.

Leave a Comment