Day 21: The Story Of Elfs, and Roles, And Santas’ Enterprise

Let’s be serious. After all, we’re grown up people and know the full truth about Santa: he is a showman, and he is a top manager of Santa’s family business. No one knows his exact position, because we must not forget about Mrs.Santa whose share in running the company is at least equal. The positionContinue reading “Day 21: The Story Of Elfs, and Roles, And Santas’ Enterprise”

Day 19: Typed Raku, Part 2: Taming Behaviour

In the previous part, I claimed that types can allow for more fluid, robust code, then wrote a bunch of restrictive types for chess that won’t allow for this to occur: Branching with Multiple Dispatch There’s a key concept we need to understand before we can fix the types we wrote, but we can’t useContinue reading “Day 19: Typed Raku, Part 2: Taming Behaviour”

RFC 265: Interface polymorphism considered lovely

A little preface with an off-topic first. In the process of writing this post I was struck by the worst sysadmin’s nightmare: loss of servers followed by a bad backup. Until the very last moment I have had well-grounded fears of not finishing the post whatsoever. Luckily, I made a truce with life to getContinue reading “RFC 265: Interface polymorphism considered lovely”