Re:Which version of JDK should I use?
by Zababa on Sunday October 10, 2021 @04:54PM
(#28821891)
Their point about using .NET were not really valid since one of the big and best reason to use Java is that you already have a Java codebase, but things like value types and generics without type erasure aren't solved in Kotlin, so Kotlin isn't really a good answer to his not really valid point.
[ Parent
| on HN ]
> things like value types and generics without type erasure aren't solved in Kotlin
Perhaps not solved, but at least partially addressed with value classes[1] and reified type parameters[2].
[1] https://kotlinlang.org/docs/inline-classes.html
[2] https://kotlinlang.org/docs/inline-functions.html#reified-ty...