Effective Kotlin_PiP
summary
Shows how Kotlin stops bugs with concrete techniques: replaces primitive ID mixups by wrapping longs in sealed classes for ID validity and extension properties so the compiler rejects swapped args; uses when-as-expression to force exhaustiveness; recommends Arrow and demos Try and Option from Arrow to model failures and nullable streams; builds test helpers with infix extension functions against MockWebServer and RxJava; points to inline classes (Kotlin 1.3) and delegated properties like a Bundle string delegate to remove boilerplate.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:28Kotlin type system
- 4:46Custom type systems
- 9:22Functional programming concepts
- 13:39Top-level and local functions
- 16:48Monads and Arrow library
- 20:00Taking control of APIs
- 27:51Delegated properties
- 33:51Summary








