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.
comments powered by Disqus