Join Slack
Powered by
is it me or map literal seem too verbose and not e...
# language-proposals
m
maan
02/27/2016, 4:15 AM
is it me or map literal seem too verbose and not easy to read
mapOf(“A” to “B”, “C” to “D”)
. Why not make it similar to JSON .
{ “A” : “B”, “C”: “D” }
or probably
{ “A” -> “B”, “C” -> “D” }
(at least for immutable maps)
Open in Slack
Previous
Next