Kotlin 1.4-rc

3295d80faee461db1093982361256fe4?s=47 Panini
July 29, 2020

Kotlin 1.4-rc

3295d80faee461db1093982361256fe4?s=128

Panini

July 29, 2020
Tweet

Transcript

  1. Kotlin 1.4.0-RC Kotlin愛好会 vol.23

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

    Github: panpanini • Mercari, Inc • Android Engineer (US) • Kotlin可愛い
  3. 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
  4. New Language Features

  5. SAM conversions for Kotlin classes

  6. Trailing Commas

  7. Behaviour Changes

  8. Smart cast in generic lambda expression

  9. Companion Object INSTANCE visibility • Originally only accessible from Java

    • Even if the Companion Object is defined as private, the INSTANCE would be public
  10. Summary

  11. 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/
  12. Have a nice Kotlin!