RSSAmplifier

Blog

Jonathan's Adventures in Programming

Ramblings on the art and craft, trials and tribulations of software programming.

software.gellyfish.co.ukRSS feed ↗3 posts

Latest posts

Make the Raku programming language familiar to C++ programmers

So a couple of days ago I was taken with the fact that you could make the Raku programming language appear to do I/O somewhat like C++: Or you can even go full C++ if that takes you: use isms; sub infix:«<<»( IO::Handle $h , Cool $v ) { $h .print: $v ; $h }; sub term:<cout> { $*OUT }; sub term:<endl> { "\n" }; cout << "Whatever" << endl; #rakulang — Jonathan Stowe (@gellyfish) June 17, 2022 Now it…

Making a home thermostat with a Raspberry Pi and the Raku Programming Language. Part 1: getting the temperature.

A few weeks ago I had a moment of hubris on Twitter It would be nice to see something like the first one done in #rakulang - totally doable but right now I've got quite a deep TODO on that front. https://t.co/0qc24om02j — Jonathan Stowe (@gellyfish) January 11, 2022 I was particularly interested in the idea of making a thermostat with a Raspberry Pi but using Raku instead of Python. Being somewhat…

Learning Perl 6 from bad Perl 5 code

My friend Dave Cross doesn't like to see bad Perl code in the wild, and often when he finds it he will write about it,usually presenting a rewritten version that conforms to the generally accepted standards for writing Perl 5 code in the 21st century. Anyway yesterday I saw this magazine in a supermarket: It has three good articles by Dave in it, and, as Dave pointed out on Facebook, the article…