Stone Soup Software

Leonhard Brenner
4 min readJun 9, 2021

The many faces of interfaces

I am exploring some high-leverage places for using code generation. In particular type interfaces the many implementations we need to build before we can begin coding a solution.

I start by defining the interface. Clean simple but it doesn’t do anything. It just tells you what it can provide. Properties of resource objects should be read-only on the interface.

interface Actor {
val actorId: Int
val firstName: String val lastName: String

--

--

Leonhard Brenner

Freelance Programmer with a green thumb. Some of what I am building is to support Community Supported Agriculture and small business.