Session: Kotlin: Making the Java Platform a Better Place
Wednesday 14.10 - 15.00
Room: Ken Lee
This session gives an overview of the key features of Kotlin and demonstrates how the new language integrates into the existing infrastructure: from libraries to the IDE and build tools. On top of that we show how one can make Java APIs better using Kotlin, without having to alter them in any way.
The session open with an overview of the language that includes:
* Classes and primary constructors
* Extension functions
* Higher-order functions
* Null-safety and smart casts
After the overview, we demonstrate how to use Kotlin to enhance Java APIs:
* Kotlin’s extensions turn standard JDK collections into fluent data structures that can be processed in the spirit of LINQ.
* Even Swing control layout can be turned into a nice declarative code by type-safe builders implemented in Kotlin.
We conclude with a short IDE demo to show Kotlin in action.
You can read more about Kotlin at http://jetbrains.com/kotlin
And try it out at http://kotlin-demo.jetbrains.com/
Knowledge of Java
Hadi Hariri is a developer, speaker and Technical Evangelist at JetBrains. His passions include software architecture and web development. Book author and frequent contributor to developer publications, Hadi has been speaking at industry events for over a decade. He is based in Spain where he lives with his wife and three sons. He is also an ASP.NET MVP and ASP.NET Insider.