Skip to content
0:00 / 0:00

#kotlin#destructuring#kotlin2.3.20

The New Name-Based Destructuring in Kotlin 2.3.20

Dave Leeds

16K subscribers • 19 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Dave Leeds

Intermediate. Assumes working knowledge.

2.6K views6 months ago1 recommendation

Programming languagesKotlinLanguage design and type systems

Dave Leeds explains the new name-based destructuring syntax introduced in Kotlin 2.3.20 and how it compares to position-based destructuring.

In Kotlin 2.3.20, you can now opt into the newly-revised syntax for destructuring... including name-based destructuring! For those cases where you prefer destructuring with the traditional position-based approach, you can still use that, too. In this clip from the TypeAlias Show Livestream, you can see what the new destructuring syntax is all about. 👉 Coroutines course: courses.typealias.com/coroutines Use promo code SPRING26 by April 30, 2026 for 33% off. 🚀 Newsletter: newsletter.typealias.com/ ✨ New to Kotlin? Start your journey here: typealias.com/start/ 📚 Chapters Problems with Position-Based Destructuring Complete Mode Only-Syntax Mode Name-Mismatch Mode

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of the new name-based destructuring features in Kotlin 2.3.20.

u/TypeProjectionin r/Kotlin • Recommends

Name-Based Destructuring in Kotlin 2.3.20