Explore how Kotlin enhances Java code in this ACCU 2019 conference talk. Discover concrete examples from real-world scenarios demonstrating the benefits of converting Java to Kotlin. Learn about reducing code for common patterns, preventing errors through immutability and null safety, expressing ideas more directly with pattern matching and sealed classes, writing less verbose functional-style code, and creating clearer object structures. Understand how Kotlin allows for a gradual transition from Java, making it easy to integrate into existing codebases. Gain insights into value objects, default parameters, explicit inheritance, conditional expressions, lambdas, and constructor types. If time permits, discuss potential future Kotlin features and their feasibility on the JVM platform.
Overview
Syllabus
Intro
Contents
Things that are good
Good patterns
Examples
Value objects
Parameters
Null safety
Immutability
Handling cases
Constructors
Streams
Summary
More info
Taught by
ACCU Conference