Articles


Coding with Pizza in 2024

  • Saturday, 9 November 2024
  • 5 minute read

The Pizza language developed by Martin Odersky, and Philip Wadler in 1997 was quite a significant milestone in the history of Java and other JVM languages like Scala. As a research project, it introduced generics, lambdas, algebraic data types and pattern matching on top of Java, all in the 90s. Given that Java has finally introduced all of these features, and in the interests of preservation, can we run it today? is it useful?

Just declare your services: Introducing operation mirrors

  • Monday, 24 June 2024
  • 7 minute read

Scala 3 makes it even easier to write expressive code that feels like it belongs in a dynamic language, but stays aggressively type-safe, improving your productivity. Towards this style, I'm introducing ops-mirror , a micro-library for reflection of method signatures, for example to generate schemas for HTTP endpoints from trait definitions.

Enhanced Simple Parsing for Scala

  • Thursday, 1 February 2024
  • 5 minute read

I developed a new String interpolator for Advent of Code to help with parsing - it turns out that I didn't need anything else for solving all this years problems.

How to write a website generator in Scala, Part 1

  • Monday, 1 August 2022
  • 4 minute read

I decided to write my own website generator to build my personal website. My goal was to use Markdown to drive the content, and use Scala to make templating the HTML easier. Read on for how you can do it yourself.