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

Kotlin 1.4-rc

Panini
July 29, 2020

Kotlin 1.4-rc

Panini

July 29, 2020
Tweet

More Decks by Panini

Other Decks in Programming

Transcript

  1. About Me • Matthew Vern / Panini • Twitter: @panini_ja

    Github: panpanini • Mercari, Inc • Android Engineer (US) • Kotlin可愛い
  2. Summary • Kotlin 1.4 Release Candidate is ready! • Let’s

    look at some interesting Kotlin 1.4 language features • Let’s also look at some new behaviour changes
  3. Companion Object INSTANCE visibility • Originally only accessible from Java

    • Even if the Companion Object is defined as private, the INSTANCE would be public
  4. Summary • A few new language features to make Kotlin

    easier to use ◦ SAM conversion for Kotlin interfaces ◦ Trailing comma in parameter lists • Many Quality of Life (QoL) changes, makes Kotlin even more 可愛い ◦ Smart cast in generic lambda • Lets try Kotlin 1.4 EAP! ◦ https://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-rc-released/