arrayOf unnatural

Additionally, while I believe that all primitive data types should in fact have dedicated, concise language-defined syntax uniquely specifying literals as that type (creating a short, for example shouldn’t have to be 42.toShort()), perhaps the current lack of such a syntax already existing will become a boon when bringing so-called “value types” to the language. Just a thought.

1 Like