Day 18: Typed Raku, Part 1: Taming State

Introspecting Types and Kinds The type of any object in Raku can be introspected with WHAT: Though we’re often more interested in its type’s name than the type object itself when we want to do this: Typechecking is among the behaviours defined by an object’s HOW: In type theory jargon, this would be a kind,Continue reading “Day 18: Typed Raku, Part 1: Taming State”

RFC 190, by Damian Conway: NEXT pseudoclass for method redispatch

In his series of object orientation RFC’s Perl/Raku luminary Damian Conway includes a proposal for method redispatch, RFC 190, which is the subject of today’s article. On method dispatch Perl has a pseudoclass named SUPER which an object can use to invoke a method of its parent class that it has overridden. It looks approximatelyContinue reading “RFC 190, by Damian Conway: NEXT pseudoclass for method redispatch”