What is Kotlin's stance on nested destructuring, s...
# announcements
c
What is Kotlin's stance on nested destructuring, similar to Scala's feature, like so:
Copy code
fun main(args: Array<String>) {
    val p1 = Pair(1, 2);
    val p2 = Pair(3, 4);
    val p3 = Pair(p1, p2);
    val (simple, destructuring) = p1
    //val ((nested, _), (destructuring, _)) = p3;
}
Hope you get back to me, thanks
a
s
that's usually bad design pattern indeed