Learn what happens to type arguments when our Kotlin code is compiled, and how we can step around certain type erasure problems with reified type parameters.
📽️ Inline, Crossinline and Noinline video:
• Inline Functions: inline, crossinline...
✨ New to Kotlin? Start your journey here: https://typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! https://book.typealias.com/
🚀 Get the inside scoop on everything I'm working on - join my brand new email newsletter!
Sign up here: https://newsletter.typealias.com/
00:00 Introduction
00:52 Type Erasure
03:35 Example 1 - Comparing Types
05:45 Example 2 - Class Objects
08:28 Trade-offs
09:16 Wrap-up