~/talk

The Golden Principles of Software Architecture Applied To Kotlin Multiplatform

Talkat Android Worldwide 2022 · 2022-01-25..01-26· [software-architecture, kotlin]
name:Ryan Kay
links:none on file
slides:none on file

Argues the best architecture is dictated by project requirements and shows concrete separations: session vs long‑term storage, UI platform, presentation/control/compute/build logic. Uses Kotlin Multiplatform with expect/actual source sets and Jetpack Compose, reports reusing ~80% then 95–98% of code between Android and desktop. Replaces heavy libraries by standard library code (example: an HTTPUrlConnection network call) to get fast unit tests and even achieve 100% test coverage on a Sudoku generator. Warns Gradle config for KMP is currently painful.

AI-written summary · about

  1. 0:00Start
  2. 5:20Separation UT Concerns
  3. 7:28Session Storage/IO
  4. 8:20Long Term Storage/IO
  5. 9:48Drivers: Platform
  6. 10:02Presentation Logic
  7. 11:16Control Logic
  8. 12:50Build Logic
  9. 15:15Is Three Layers Enough?
  10. 18:10Abstraction
  11. 20:58Interfaces: Language Feature
~/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.