~/talk

Kotlin DSL: Theory and Practice

TalkinRussianat JPoint 2018 · 2018-04-06..04-07· [kotlin]
links:none on file
slides:none on file

Kotlin DSL: theory and practice explains how Kotlin’s language features can be used to build domain-specific languages to simplify writing and maintaining tests. It describes tools and techniques (Kotlin DSLs replacing builders and static methods) applied to testing a resource-planning module, and walks from designing an ideal test to implementing and running clear, concise tests in Kotlin.

AI-written summary · about

  1. 0:00Introduction
  2. 2:07DSL basics and motivation
  3. 8:45DSL vs general languages
  4. 10:49Kotlin DSL advantages
  5. 12:37Ideal DSL design
  6. 14:19Kotlin DSL tools
  7. 16:51Lambda with context
  8. 20:46Singleton and invoke
  9. 22:51Testing with DSL
  10. 27:35Destructuring declarations
  11. 29:20Type aliases and matrices
  12. 30:27Extension functions
  13. 32:15Infix functions
  14. 34:46DSL context control
  15. 37:01DSL pitfalls and fixes
  16. 43:05DSL design best practices
  17. 48:32Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.