Inline (Value) Classes

An introduction to inline (also called value) classes, how they’re connected to Project Valhalla, their properties & limitations, and how to use them to prevent runtime errors, push code up the call stack, and thereby write safer code.

Gabriel Shanahan
The Kotlin Primer
Published in
6 min readSep 21, 2022

--

— — — — — — — — — — — — — — —

THE CURRENT VERSION OF THIS ARTICLE IS PUBLISHED HERE.

--

--