Returning Multiple values from Kotlin Functions (Destructuring Declaration) and it's internals

preview_player
Показать описание
We can return multiple values from a #Kotlin function by following the syntax of #DestructuringDeclaration. In this video, we will explore how to do this and will also try to understand how #Kotlin achieves this by making it #JVM compatible.

In this 10 mins video, you will learn multiple ways to use destructuring declaration feature and how they work under the hood.
Рекомендации по теме
Комментарии
Автор

Great explanations! Thanks. However, in my opinion, when it comes to destructuring, javascript/typescript is the easiest to do cos it does not have to define componentX function for every property.

cooldude
join shbcf.ru