https://kotlinlang.org logo
#stdlib
Title
# stdlib
h

h0tk3y

01/12/2016, 11:06 PM
Hi everyone. I've posted an answer on SO recently (attached) and now I'm wondering why
Array(n) { ... }
and its variations for
IntArray
,
DoubleArray
,
BooleanArray
are named in upper case while these are just functions? Why not
array(n) { ... }
,
intArray
,
booleanArray
etc.? Does anyone has an explanation for this decision?