Day 25 – Future-proofing the Raku Programming Language

Around this time last year, Jonathan Worthington was writing their Advent Post called Reminiscence, refinement, revolution. Today, yours truly finds themselves writing a similar blog post after what can only be called a peculiar year in the world. The Language Visible Changes The most visible highlights in the Raku Programming Language are basically: last / next with a value Normally, last just stopsContinue reading “Day 25 – Future-proofing the Raku Programming Language”

Day 19 – Let it Cro

Ah, advent. That time of year when the shops are filled with the sound of Christmas songs – largely, the very same ones they played when I was a kid. They’re a bit corny, but the familiarity is somehow reassuring. And what better way to learn about this year’s new Cro features than through the words ofContinue reading “Day 19 – Let it Cro”

Day 11 – Unix philosophy without left-pad, Part 2: Minimizing dependencies with a utilities package

In the previous post, I made a case for why programming languages should have a utility library that provides small-but-commonly-needed functions. Today I’m introducing a Raku package that I hope will fill that gap and discussing how this fits with the Unix philosophy

Day 6 – Following the Unix philosophy without getting left-pad

The Unix philosophy famously holds that you should write software that “does one thing, and does it well”. But following that advice too literally can lead to the micro-package dystopia that got us left-pad. But there is a way to write libraries that do only one thing without getting left-pad

It’s that time of the year

When we start all over again with advent calendars, publishing one article a day until Christmas. This is going to be the first full year with Raku being called Raku, and the second year we have moved to this new site. However, it’s going to be the 12th year (after this first article) in aContinue reading “It’s that time of the year”

RFC 84 by Damian Conway: => => =>

RFC 84 by Damian Conway: Replace => (stringifying comma) with => (pair constructor) Yet another nice goodie from Damian, truly what you might expect from the interlocutor and explicator! The fat comma operator, =>, was originally used to separate values – with a twist. It behave just like , operator did, but modified parsing toContinue reading “RFC 84 by Damian Conway: => => =>”

RFC 188, by Damian Conway: Objects: Private keys and methods

Break someone’s code today! On September 1st of 2000 Damian Conway sent a proposal №188, promoting the idea of Private Keys and Methods. In those days, Perl’s object-oriented programming relied heavily on hashes. Indeed, a hash can store data values by keys, as well as references to routines, which is how you can describe anContinue reading “RFC 188, by Damian Conway: Objects: Private keys and methods”

RFC 5, by Michael J. Mathews: Multiline comments

This is the first RFC proposed related to documentation. It asks for a common feature in most of the modern programming languages: multiline comments. The problem of not having multi-line comments is quite obvious: if you need to comment a large chunk of code, you need to manually insert a # symbol at the beginningContinue reading “RFC 5, by Michael J. Mathews: Multiline comments”