Reified Type Parameters
Vložit
- čas přidán 22. 06. 2024
- 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: inli...
✨ New to Kotlin? Start your journey here: typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! book.typealias.com/
🚀 Get the inside scoop on everything I'm working on - join my brand new email newsletter!
Sign up here: 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 - Věda a technologie
Dave, your channel should have 20x the number of subscribers. Your knowledge and presentation style are awesome. Hopefully more viewers will discover you.
Wow, thank you so much! I'll keep at it, and hopefully we'll see the growth over time!
Really the best explanation I've seen on YT for both inline and reified modifiers, this channel is gem for Kotlin devs!
Hey, thanks so much! Glad you enjoyed it!
I am usually already familiar with the concepts you're covering, but I still really enjoy these videos just to solidify my mental model of them. Really well done!
That's an amazing explanation, yet so simple! thanks a lot! Dave, you are bringing the light of Kotlin to us :)
David youre a gift to the kotlin community
This channel is a gold mine, Thank you!
As always, thanks for the awesome video....I know type erasure is a jvm thing, but how does reified work when compiling to other targets, specially native targets (mac, linux, windows) ?
Awesome
Pronounced REE-if-EYED, as in to "Make REAL"
Not RAY-if-EYED
Please look it up if you disagree
Otherwise great content.... there are several other programming terms in this area that are often mispronounced, and I will leave you to find them on your own
RAY-if-eyed is actually the primary pronunciation. REE-if-ied is the alternate pronunciation. See here: www.merriam-webster.com/dictionary/reified
I would like to pronounce it as RAFAEL xD
@@UsmonWasTakenGood one! xD