The Lord of Collection Functions - The Fellowship of Kotlin
summary
Concrete claims and runnable examples: the Kotlin standard library collection functions replace imperative loops and mutable state with map then flatten vs flatMap, show that reduce vs fold differ by initial value and result type, and that zip drops unmatched (fellowship of nine zips with six enemies leaves three idle). Demos use a shared “fellowship” dataset, sum ages, count four hobbits, compute a 50-point healing total, show chunked calling windowed, and publish full code and extended slides via the provided link tree — examples execute but a flaky unit test surfaces.
AI-written summary · about
chapters (9)
- 0:00Fellowship of Kotlin
- 3:15Dark Lord Foron
- 8:11Mines of Mutation
- 16:17Flaky unit tests
- 17:22Plains of Reflection
- 25:35Dead modules
- 30:10Reduce and fold
- 36:08Deallocation and forEach
- 37:42Imperative evil
related talks
38mThe Lord of Collection Functions: The Fellowship of Kotlin
21mExplore Kotlin.Collections API
51mBack to the Stdlib: Making the Most of Kotlin’s Standard Library
35mTreasure.map(): Functional Programming in Kotlin
29mTreasure.map(): Functional Programming in Kotlin
48mKotlin & Functional Programming: pick the best, skip the rest
57mIdiomatic Kotlin
01h 00mKotlin Recipes
