Get the latest tech news

Capture Checking in Scala


I gave a live coding session on capture checking at Scala Days 2025. Let’s be honest: it was essentially a failure, mostly because I have very little live coding experience and woefully underestimated how long it’d take to go through the material.

That’s when I coincidentally received an email from one of the Krakow Scala User group organizers telling me they were having an event, and since I was going to be in town, why don’t I give a talk, it’s going to be very informal, there’s only going to be a few of us, I should come, it’ll be fun. Luckily, Martin, noticing my discomfort and ever the gentleman, said it’d be fine, we’d both go on stage, I’d write the code, and he’d criticise it, correct my mistakes, explain things and give context for some of the more… exotic… design decisions. A is simply some class - I’ll be creating lots of values to show the behaviour of the capture set, and a short, one letter name will help keep things relatively tight.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Scala

Scala

Photo of Capture Checking

Capture Checking

Related news:

News photo

Mill: A better build tool for Java, Scala, and Kotlin

News photo

Why does Mill use Scala?

News photo

Abacist – Calculations with non-decimal units and mixed bases in Scala