Kotlin DSLs in 42 minutes

by · Jun 29, 2018 · 88 views ·

Česká Java User Group

Learn how to create type-safe and statically typed DSLs in Kotlin. The session starts with an introduction to DSL related Kotlin language features. Next, we create a simple DSL in a live coding session and then continue adding expressiveness and language features. We cover a number of examples, like JSON or XML builder's, data binding, configuration & template engines, HTML builders, React wrapper, Web frameworks, Anko for Android layouts, server-side and more.