~/talk

Creating Small DSLs with Idiomatic Kotlin

Talkat JetBrains Night Seoul 2016 · on Thursday, 2016-11-24· [kotlin]
slides:none on file

Kotlin claims to enable small, focused DSLs by combining extension functions and lambdas with receiver plus operator overloading and data classes; JetBrains runs Kotlin in production for 4+ years, with 10+ internal products, 100+ committers and ~20 full-time devs. Examples built include Anko (type-safe Android view builders), a TeamCity build-configuration DSL and a Kotlin Gradle DSL; these are interoperable with Java, provide IDE completion, and are reported as practical and working in real projects.

AI-written summary · about

  1. 0:00Start
  2. 0:31Background
  3. 6:53Create Functions
  4. 7:40Create Function with Parameters
  5. 8:45Optional Parameters
  6. 9:48Functional Programming
  7. 10:05Higher-Order Functions
  8. 13:45Using Statement
  9. 16:09Constructor
  10. 20:50Extension Methods
  11. 23:24Extension Properties
  12. 31:37Standard Library
~/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.