~/talk

The Adventures of a Kotlin-based Library Developer

Talkat droidcon EMEA 2020 · 2020-10-08..10-09· [kotlin]
links:none on file
slides:none on file

Covers concrete binary-compatibility pitfalls when migrating a Java library to Kotlin: named arguments are part of the API so renaming parameters breaks consumers; adding fields to a data class changes the generated copy/component signatures and data class copy changes break binary compatibility; static and property semantics change unless annotated. Recommends using Kotlin 1.4 library mode and JVM annotations like @JvmOverloads, @JvmStatic, @JvmField to preserve linkage, follow semantic versioning for breaking releases, and prefer Kotlin for new libraries rather than blind porting.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:20Binary compatibility in Kotlin
  3. 9:36Migrating Java libraries to Kotlin
  4. 16:42Data classes and breaking changes
  5. 21:41Kotlin version compatibility
  6. 25:55Should you build libraries in Kotlin?
  7. 27:24Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.