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

Kotlin 101

Ivan Bruel
October 21, 2015

Kotlin 101

A brief overview on how Kotlin works and how it pairs alongside Java in an Android world.

Ivan Bruel

October 21, 2015
Tweet

More Decks by Ivan Bruel

Other Decks in Programming

Transcript

  1. Faber-Dev Bruno Oliveira Mobile Developer Afonso Tsukamoto Backend Developer João

    Horta Frontend Developer Marcelo Lebre Lead Developer Ivan Bruel Mobile Developer
  2. Java 6 2006 Android 1.0 2008 Java 7 2011 Java

    7 support 2013 Java 8 2014 Java 8 support ??? Android and Java Timeline
  3. Lollipop 20% KitKat 43% Jelly Bean 29% Ice Cream Sandwich

    4% Gingerbread 4% Platform versions Android and Java
  4. Kotlin What does it remove from Java? Checked Exceptions Non-class

    primitive types Non-private fields Static members Wildcard types
  5. Kotlin What’s new? Lambdas Properties Data classes Primary constructors Function

    literals & inline functions Class delegation Extension functions Type inference Null-safety Singletons Smart casts Declaration-site variance String templates Range expressions
  6. Kotlin But wait, there’s more! kotlinlang.org “Why Kotlin is my

    next programming language” @ medium reddit.com/r/kotlin stackoverflow.com