• Effective Class Delegation

    One of the most significant items of the Effective Java book is Item 18: Favor composition over inheritance. Let’s see how Kotlin promotes this with class delegation.

    Read More

  • Mastering API Visibility in Kotlin

    When designing a library, minimizing your API surface – the types, methods, properties, and functions you expose to the outside world – is a great idea. This doesn’t apply to just libraries: it’s a consideration you should make for every module in a multi-module project.

    Read More

  • Wrap-up 2020

    Let’s send this one off so that we can get started on a better one. The “usual” recap of what I’ve done this year.

    Read More

  • Anecdotes about web APIs

    I think any respectable service these days should offer a web API to paying customers, so that power users of the service can integrate it with other services, and have reliable, trustworthy programmatic access to their data. Here are some anecdotes about services and APIs.

    Read More

  • The Single-cable Dream

    Here’s the story of how I moved my entire desk setup to be attachable to a computer via a single Thunderbolt 3 cable. It was quite the adventure, and 100% worth it.

    Read More

  • Designing and Working with Single View States on Android

    Describing the state of a screen is a common practice these days thanks to MVI popularizing the concept. Let’s take a look at some examples of how you can design your state objects neatly using data classes and sealed classes, and how you can put them into practice.

    Read More