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?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton