https://kotlinlang.org logo
#kontributors
Title
# kontributors
a

alexcouch

08/26/2017, 6:05 PM
I mean either way, there's really no difference post-compilation wise but it would be better to read and debug code imo
k

karelpeeters

08/26/2017, 7:00 PM
They existed in Java before autoboxing was a thing, and they sticked around. Maybe they can be justified with performance reasons?
a

alexcouch

08/27/2017, 12:14 AM
Not sure, it just seems really silly to me tbh
d

dmitry.petrov

08/27/2017, 4:29 AM
Of cause there is a difference post-compilation wise. In Kotlin, as in Java, generics are erased. Thus it would require boxing, and yes, it affects performance (especially on Android).