And has there been any word on whether or not the ...
# announcements
h
And has there been any word on whether or not the following syntax will be added?
Copy code
val a = 1, b = 2, c = 5
val d = "D", e = "e", f = "etc"
Right now it's kind of possible as:
Copy code
val (a, b, c) = listOf(1, 2, 5)
val (d, e, f) = listOf("D", "e", "etc")
But I think the former is clearer
🚫 7
s
Former is confusing unless it's on multiple lines
Copy code
val a = 1,
    b = 2,
    c = 5
val d = "D",
    e = "e",
    f = "etc"
r
@Smallville7123 why do you keep spamming all the time everywhere?
s
i dont know