A quick and practical example of using destructuring declarations in Kotlin.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Kotlin with Mockito
Filed under Testing
Learn how to use Mockito and Kotlin together in order to create mocks and write effective unit tests.
Overview of Kotlin Collections API
Filed under Kotlin Collections
A quick and practical overview of the Kotlin Collections API.
Converting a List to Map in Kotlin
Filed under Kotlin Collections
Learn how to convert a List to Map in Kotlin.
Introduction to Kotlin Coroutines
Filed under Asynchronous Programming
Learn how to create asynchronous programs with Kotlin coroutines.
Difference Between “==” and “===” operators in Kotlin
Filed under Kotlin Basics
Learn the difference between ‘==’ and ‘===’ Kotlin operators.
Generics in Kotlin
Filed under Kotlin Classes and Objects
A quick and practical guide to generics in Kotlin.
Kotlin Java Interoperability
Filed under Kotlin-Java Interop
Quick and practical examples of Java-Kotlin interoperability.
Comprehensive Guide to Null Safety in Kotlin
Filed under Kotlin
A quick, practical guide to the null safety features built into the Kotlin programming language.
Guide to the “when{}” Block in Kotlin
Filed under Kotlin Basics
A quick and practical guide to the “when{}” block in Kotlin.