Hi! I’m Dave - a software developer and wannabe cartoonist who likes adventure games, superhero movies, and Kotlin. By day, I’m a mild-mannered Android developer who codes in Kotlin. But come nightfall, I’m… also coding… in Kotlin… because one day I just sat down and was like, “dude, Kotlin’s legit… I should make a website about it”.
And that’s what’s up.
Kotlin's type aliases give you a quick and easy way to create simple, concise, and domain-specific names for types. This guide covers all of the essential concepts, with plenty of examples to help you level up your Kotlin game.
What are star-projections in Kotlin? And why do they change your function parameter and return types? With just two easy-to-understand rules, we can illuminate star-projections and understand exactly why they work like they do.
The ultimate guide to understanding generics, covariance, contravariance, and type projections in Kotlin. Learn two simple subtyping rules that explain why generic variance works the way that it does.
Confused about generic subtyping? With just a few simple, foundational concepts, almost everything about variance becomes clear. If you're confused about how subtyping works with generics in Kotlin, start here.