<< See All Talks

Kotlin DSLs in 42 minutes

Devoxx Belgium

22 October 2017, talk

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 and Android layouts, server side and more. You will learn how to create and understand the magic behind statically typed DSLs in Kotlin.


References:

Slides
GitHub
YouTube
comments powered by Disqus