Hi there :slightly_smiling_face: why does Kotlin ...
# getting-started
h
Hi there 🙂 why does Kotlin need
Array
in the first place? Why not use
Collection
and let the compiler optimize them away as JVM Arrays where possible? 4 replies not sure I got what you said, sorry. The concept of ☕ Arrays could be expressed by a K Collection and the K compiler could provide the necessary magic. And
ArrayList
is a ☕ class, not a K class, so I'm not sure why that would be relevant.