~/talk

Connect platforms with a Kotlin DSL

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [kotlin, developer-experience]
links:none on file
slides:none on file

Sprout is a Kotlin DSL plus CLI that generates platform code (Retrofit endpoints, Moshi models, Swift, PHP) from a machine‑readable Sprout Kotlin DSL seed, resource, printer, template and CLI — five parts — and runs a bidirectional diff on CI (Jenkins) as an API client contract to catch structural mismatches before apps crash. It also surfaces richer types (HTML, id) as type aliases so generated models keep JSON shape, give IDE hints, and avoid extra allocations that caused OOMs.

AI-written summary · about

  1. 0:00Introduction and meetup plug
  2. 1:47What is a Kotlin DSL?
  3. 6:20Building a simple DSL
  4. 9:13Introducing Sprout library
  5. 12:04API client contracts
  6. 19:22Generating models with type info
  7. 26:45Future of code generation
  8. 33:13Guidelines and closing
~/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.