Covariance, Contravariance & the LSP

The Liskov Substitution Principle has implications for the way we should use covariance and contravariance.

August 2, 2024 · Sam Burns

Go Constants and Type Coercion

Constants in Go, and an observation about the type system. Following on from previous articles about type coercion, another limited form is identified and explored.

April 26, 2024 · Sam Burns

Channel Directionality in Go

An exploration of channel direction in Go, and a perspective on its implications for the type system.

April 25, 2024 · Sam Burns