Kotlin: MAX PAYNE
summary
A team porting a mobile app to Kotlin documents concrete costs and fixes: nullability interop fails with unannotated Java APIs so they add an Option wrapper for Java nulls and custom adapters; kapt and annotation processors break incremental builds so they build a money-trainer remote build proxy to speed CI; Kotlin DSL causes Gradle/Kotlin version mismatches and plugins break; use of inline/const reduces method-call overhead; Spek tests and JUnit4→5 migration create fragile tooling; many bugs require filing Kotlin/YouTrack issues but runtime performance and developer ergonomics improve.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 6:31Code style and utilities
- 10:54Destructuring problems
- 15:30Null safety and exceptions
- 20:07Optimizing with inline
- 23:39Typing and compiler bugs
- 27:50Build optimization
- 29:14Gradle Kotlin DSL
- 34:01Testing with Spek
- 39:59Summary
related talks
39mKotlin, Practically Speaking
46mThe Road to Kotlintown
42mKotlin Adoption in the Giant Java Application
36mExploring Kotlin Multiplatform
40mBetter Android Development with Kotlin & Gradle
41mAdvancing android development with the kotlin language
41mKotlin's hidden costs, revisited
41mApollo-Android: a Journey to Kotlin Multiplatform
