Comment Comment by amalgamated_inc Kotlin is so close on so many things, but then keeps messing up.arrayOf(1, 2, 3) - why not [1,2,3]?emptyArray() - why not []?mapOf("key" to "value") - why not {key => value}?These are all solved problems. Why would they make up some harshly suboptimal syntax? parent amalgamated_inc 3 years ago
arrayOf(1, 2, 3) - why not [1,2,3]?
emptyArray() - why not []?
mapOf("key" to "value") - why not {key => value}?
These are all solved problems. Why would they make up some harshly suboptimal syntax?