What's New

Latest Articles and Videos

New!

Looking Forward to
Kotlin 2.0

Kotlin 2.0 is just around the corner!

Looking Forward to<br />Kotlin 2.0

Variables, Expresiones y Tipos

¿Quieres ser desarrollador de Kotlin? ¡Estás en el lugar correcto! Tu aventura comienza aquí en el capítulo 1, donde cubriremos lo básico de variables, expresiones y tipos.

Variables, Expresiones y Tipos
New!

Three Simple
Rules for Subtypes

Inheritance and variance are based on three simple rules.

Three Simple<br>Rules for Subtypes

Inline Functions

Let's look at inline functions, and the crossinline and noinline modifiers.

Inline Functions

Every Kind of Class

Inner classes, value classes, sealed classes, and many others... let's look at them all!

Every Kind of Class

Type Projections

Type projections give us generic subtypes when declaration-site variance isn't an option!

Type Projections

Variance... without Generics!

Unlock the mental model of variance. No generics required!

Variance... without Generics!

Introduction to HexFormat

Let's check out HexFormat and its related functions!

Introduction to HexFormat

Intersection Types in Kotlin

Intersection types are not denotable, but we can still use them!

Intersection Types in Kotlin

try-catch vs runCatching

Let's talk about try-catch, runCatching(), and those poll results!

try-catch vs runCatching

Leanpub Frontmatter Podcast: Dave Leeds

Len Epp and I talk about Kotlin, learning how to code, publishing on Leanpub, and lots more!

Leanpub Frontmatter Podcast: Dave Leeds

A Tour Through Konsist with Igor Wojda

I team up with special guest Igor Wojda to demonstrate how the Konsist static code analysis tool can be used to ensure consistency in a Kotlin codebase!

A Tour Through Konsist with Igor Wojda

How to Use Kotlin's Timing API

Kotlin's Timing API is stable as of Kotlin 1.9, and it offers some great ways to both measure and specify time. In this video, we'll take a tour through the main features of this API so that you can start using durations and time marks like a pro!

How to Use Kotlin's Timing API

Wall Clock vs. Monotonic Clock

As a prelude to exploring the newly-stable Timing API in Kotlin 1.9, let's check out the difference between a wall clock and a monotonic clock!

Wall Clock vs. Monotonic Clock

Introduction to Collection Builders

Use Collection Builders to dynamically build out a collection's contents, without leaving it open to modifications.

Introduction to Collection Builders

Smart Casts with Kotlin Contracts

Use the experimental Contracts feature to create a Smart Cast from your own function.

Smart Casts with Kotlin Contracts

Easy SharedPreferences with Delegated Properties

Learn how Kotlin's delegated properties work by turning Android's SharedPreferences into a delegate.

Easy SharedPreferences with Delegated Properties

5 Fun Ways to Use Extension Functions

Let's put extension functions together with operator function conventions to do some crazy things!

5 Fun Ways to Use Extension Functions

5-Year Celebration: Peek Behind the Scenes!

Get a peek behind the scenes, including my art setup, my writing tooling, and even my cute dog!

5-Year Celebration: Peek Behind the Scenes!