This blog post accompanies this episode: https://dev.to/kotlin/exploring-kotlin-lists-in-2021-2gi
In today’s episode of Standard Library Safari, we’re learning all about lists! They’re the most popular kind of Kotlin collection for good reason, and we spend a whole episode diving into the details. We learn about how to create lists and mutable lists, and how to access, add, and remove elements. Together, we explore functionality around providing default values for invalid indexes, slicing, and mutating values using Kotin’s out-of-the-box features. We’ll also explore the concept of views on lists, investigate sub-lists and reversed views, and share many other tips and tricks.
#collections #kotlin #jvm #programming #lists
Kotlin website → https://kotlinlang.org/
Kotlin documentation → https://kotlinlang.org/docs/home.html
#kotlin