Kotlin's Name-Based Destructuring
Kotlin by JetBrains — Sep 21, 2026 — talk
Why watch
This video explains Kotlin's new name-based destructuring feature, an experimental capability that maps data class members to variables by name rather than position, eliminating subtle bugs inherent in position-based destructuring. The content covers the problem with traditional destructuring, the new syntax options, compiler flags, and migration planning for the feature becoming stable in Kotlin 2.5.0. It is designed for Kotlin developers who work with data classes and want to write more maintainable, bug-resistant code.