@Ruckus but it allows you to use Java types as well, which does present a risk for nullable types
r
Ruckus
01/21/2018, 4:19 PM
I think it's basically discouraged to use any Java type that is married to a Kotlin type by the compiler, but it's just discouraged, not banned, so if you need to, go for it.
👍 1
g
gildor
01/22/2018, 12:33 AM
But in 99% of cases when you want to use Java Integer you doing something wrong. Just because Kotlin Int will be compiled to Java's primitive