Blog64.8K views4,915 votes1 reply1 comment3,653 following
Stop Mixing Up Long IDs with Kotlin Inline Classes
Kotlin inline classes wrap a primitive in a distinct compile-time type without the runtime cost of a regular wrapper class. Here's when they help and where they break down.