Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kotlin in the Real World

Kotlin in the Real World

Kotlin is a modern language developed by JetBrains, the makers of the excellent Intellij on which Android Studio is based. Having used Kotlin in production on an android app for the past few months, Philippe will share what’s great about the language and what the caveats are. This talk will cover language features, tooling support, performance and interoperability with java. By the end, you should have a good understanding of the pros and cons of the language and be able to decide if you want to try it out.

Philippe Breault

January 26, 2017
Tweet

More Decks by Philippe Breault

Other Decks in Technology

Transcript

  1. • 2010 - work started • 2011 - announced •

    2016 - official 1.0 release • 2017 - 1.1 release The Dates
  2. • Adds about 1mb to the apk • Around 6700

    methods • Not Officially Supported by Google
  3. There are a lot of other interesting features • Infix

    extension methods • Interfaces • Operator Overloading • Interface Delegation • Property Delegation • Destructuring • Safe Singletons • Annotation processing • Tail recursion • Companion objects • Init blocks • Enums • Multiline strings • Dot notation • Javascript backend • otlin native • Kotlin 1.1 • Gradle kotlin script
  4. • Great tooling support • Lambdas • Extensions • Null-Safety

    • Data Classes • Interoperable with Java • Terse • Fun to use • Another one to really drive the point home that the yays are bigger than the nays Yay! Nay • Not the official language • Slightly bigger apk • Adds 6700 methods • Slower build with annotation processing for now • Not instant run friendly, for now