Join Slack
Powered by
And in general you should be careful comparing Jav...
# getting-started
k
karelpeeters
10/29/2018, 6:48 PM
And in general you should be careful comparing Java and Kotlin here, Kotlin fixes a fundamental problem in Java's type system:
Copy code
val x: Array<String> = arrayOf("a", "b", "c") val y: Array<Any> = x
doesn't compile in Kotlin while the equivalent Java would.
Open in Slack
Previous
Next