Blog64.8K views2,619 votes0 replies1,893 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.