Domain-specific languages (DSLs) are a great way to create beautifully readable code. This session will explore why Kotlin's syntax lends itself to creating elegant DSLs by examining how to build a full-stack web app with:
- Ktor to create an asynchronous backend
- Exposed to develop a data access layer
- kotlinx.html to build a frontend
I will introduce each framework/library briefly, illustrate the DSL using examples, and explain why it’s an example of a great DSL. By the end of the session, you will have a new appreciation of the beautiful DSLs that can be created using Kotlin!