~/talk

Creating Your Own DSL Using Lambda Expressions in Kotlin

TalkinPortugueseat AndroidFest Campinas 2018 · 2018-10-19..10-20· [kotlin]
links:none on file
slides:none on file

Shows how to use Kotlin lambdas instead of Java callbacks, inspects the generated Java-equivalent bytecode and Java 6/7 interoperability, and highlights a compile-time 22-parameter lambda limit. Demonstrates building a real builder-style DSL for library initialization using inline, extension and fixed functions to replace bulky config code, and reports the DSL is deployed to production across apps with positive team feedback.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06Lambda expressions
  3. 8:20Java interoperability
  4. 16:36Higher-order functions
  5. 19:48apply and run functions
  6. 28:47let and also functions
  7. 31:58infix functions and DSLs
  8. 38:06Building a practical DSL
  9. 47:57Complete DSL example
  10. 48:21Q&A
~/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.