CMV-4974 Expressive APIs with Kotlin | Voxxed Days

Voxxed Days Sydney 2019
from Thursday 16 May to Friday 17 May 2019.

    Expressive APIs with Kotlin


Intermediate level
Broadway Friday from 17:10 til 18:00

We like when our code is easy to read and understand. It is indeed hard to design an API to be expressive enough for that. The popular approaches are builders or fluent APIs. Let’s see what one can achieve with the more expressive programming language?

Kotlin language grammar opens the way for it. Extension functions and lambdas are the very first steps in our way to make even exiting Java APIs more expressive. We start the talk with a basic introduction into Kotlin language. In the live coding session, we see, how a long Java code snippet with a builder is enlightened.

Configuration scripts, JSON, or XML are powerful examples of Kotlin APIs or DSLs in action. You’ll know existing libraries and see how to easily create your own APIs. We’ll see the HTML builder and React DOM builder APIs in action too.

From the talk, you will learn how to benefit from Kotlin language grammar to achieve the expressiveness of your code and APIs. You’ll no longer see the magic behind statically typed DSLs in Kotlin, but you will know libraries and patterns to bring it into your project

DSL   APIs   Kotlin   livecoding session  
Eugene Petrenko
Eugene Petrenko
From JetBrains

Eugene is a software developer, Ph.D., speaker, and blogger. He is working at JetBrains on the Developer Advocacy team and contributing to open source. His passion includes software architecture, server-side, clouds, AWS, production, programming languages. Eugene speaks and works with Java, Kotlin, Go, C/C++, Qt, .NET, Web. He started using Kotlin before trait was renamed to interface. Eugene has been a Kotlin fan fun for years and completed his first production Kotlin code back in 2013.

Make sure to download the Android or iOS mobile schedule.