3 ms·
> Reified Generics It's implemented with some bytecode hackery and hence limited to inlined functions [0], which makes it significantly less useful. Funny how
by calcifer 9y ago
> Reified Generics
It's implemented with some bytecode hackery and hence limited to inlined functions [0], which makes it significantly less useful.
Funny how a misguided design decision from the Java 1.5 days (running generic 1.6 code with a 1.5 jre) still haunts us today...
[0] https://kotlinlang.org/docs/reference/inline-functions.html#reified-type-parameters https://kotlinlang.org/docs/reference/inline-functions.html#...
- _Codemonkeyism 9y agoSee "Brian Goetz - Stewardship: the Sobering Parts" https://www.youtube.com/watch?v=2y5Pv4yN0b0&t=3399s https://www.youtube.com/watch?v=2y5Pv4yN0b0&t=3399s