~/talk

Kotlin DSLs

Talkat Conference for Kotliners 2018 · 2018-06-15..06-16· [kotlin]
slides:none on file

Claims that Kotlin DSLs are just compositions of existing language features and that they make intent obvious while remaining normal Kotlin code Examples and tools include Koin dependency modules for DI, Anko UI and HTML builders for nested UI/HTML, MockK and KotlinTest for readable tests Implementation details: trailing lambdas, lambda with receiver and extension invoke, operator overloading (unary plus for text), and scope control via @DslMarker (since 1.1) with tradeoffs between readability and accidental misuse and extra maintenance cost.

AI-written summary · about

  1. 0:00Start
  2. 6:34Focus on the Client
  3. 30:09Designing DSL
  4. 41:47Summary
~/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.