Developer conference  7-11 November  Malmö Sweden

Session

THU

16.40 - 17.20

Creating Small DSLs with Idiomatic Kotlin

Level: Intermediate

Kotlin is a fairly easy language to grasp given its similarity with other mainstream ones such as Java, C# and JavaScript. However, Kotlin provides a few characteristics which makes it possible to write nice DSL’s. But the question is, do we always need full-blown domain specific languages in our applications? Are we really going to write all our business rules in a specific language?

Not necessarily, but that doesn’t mean we should discard DSL’s. In fact, DSL’s are really powerful when they are small and focused. In this talk we’re going to show a few DSL’s that we can create to deal with different aspects of our application, whether it’s business dealing with tax rules or infrastructure and working with transactions, and see how with very little effort we can create more concise, maintainable and readable code.

Other sessions - Hadi Hariri

Partners

Best companies

Founder