Mastering Kotlin Collections in 3 Easy Steps

preview_player
Показать описание
Kotlin Tips is the series of short videos where members of the Kotlin team show how to use Kotlin in more efficient and idiomatic way to have more fun when writing code.

In this episode Kate Petrova shows 3 tips that will help you work with Kotlin Collections.

0:00 Kotlin Collections | Kotlin Tips
0:27 Tip 1 – take/takeFirst/drop/dropLast
0:50 Tip 2 – partition function
1:12 Tip 3 – joinToString extension function

#KotlinTips #Collections #Kotlin # joinToString #partition
Рекомендации по теме
Комментарии
Автор

Kotlin is powerful, elegant, coincise, definitely my favourite programming language by far

marco.garofalo
Автор

I didn't know about partition, or drop. Handy to know!

PaulNewport
Автор

Digging the tips. Would love more. Thank you.

blues
Автор

Great tips. I'm waiting for more Kotlin great tips videos. 👍

alfalifr
Автор

Typo at 1:14.... "joinToString"

anudeepananth
Автор

Cool quick tips.
I think it would be better to zoom the UI when you’re not using the entire space like here, so it’s comfortably viewable on mobile or on a tablet.

LouisCognault
Автор

Nice Tips.
One thing: It would be nice if the results from each tip will be shown a little longer. They disappear a bit too fast :)

:)

thorwinhh
Автор

Already using this thanks for this video

navczydev
Автор

It's a great idea! We are waiting for new videos

КонстантинЯкименко-яи
Автор

What plug-in shows the result without a println like that? 🤔 thank you for the great video by the way 😉

jaymartinez
Автор

I didn't know that you can use a reference instead of a lambda in that case!
How does it work?

johndoe
Автор

Hot topic... I feel like I know only a small fraction of Kotlin.

ihtihgtrzhijj
welcome to shbcf.ru