Crafting Idiomatic APIs with Kotlin and Compose
summary
Shows concrete Kotlin and Compose techniques: leverage DSLs, inline functions, property delegates and Kotlin idioms like default parameters, lazy and the Elvis operator to cut boilerplate; use coroutines and structured concurrency to replace Rx complexity and make async deterministic; rely on the Compose compiler plugin (composer parameter and group restarts) so only dirty nodes recompose; adopt tools like Molecule for presentation logic (works for non‑UI state flows) and enable explicit API mode plus ktlint/detekt to keep API surface small and maintainable.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 10:35What makes an API idiomatic
- 17:18Coroutines and declarative patterns
- 20:47Compose and Kotlin idioms
- 26:43Language and domain-specific terminology in APIs
- 30:55Good API design
- 37:59Q&A
related talks
37mKotlin and Compose Multiplatform patterns for iOS interop
32mHitchhiker's Guide to Kotlin/Compose Multiplatform samples and libraries
39mKotlin and Compose Multiplatform patterns for iOS interop
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
39mHow to Kotlin - from the lead Kotlin language designer
32mJetpack Compose — Next Gen Kotlin UI Toolkit for Android
45mKotlin - Advanced Tricks
30mKotlin DSLs
