I have nothing against position-based destructuring, I’m just disappointed that Kotlin doesn’t give a compiler error after a new property is added. A destructuring statement should ensure that all items are accounted for in order to compile.
2 Likes