<< See All Talks

Kotlin DSLs in 42 minutes

Kotlin User Group Munich &GDG Android Munich

02 November 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 for Android layouts, server side and more.

You will learn how to create and understand the magic behind statically typed DSLs in Kotlin

We had a live coding session in which we converted a Java code snippet into a nice and easy to read DSL in Kotlin.


References:

Link
Link-2
Slides
Periscope
comments powered by Disqus