Kotlin for Java Engineers
A ground-up tour of Kotlin for developers coming from Java.
-
In Kotlin, There Are No Primitives
-
In Kotlin, Functions Don't Need a Class
-
Kotlin's if Returns a Value, So There's No Ternary
-
Kotlin's when Is the New switch — And if, And instanceof
-
Kotlin Smart Casts: Stop Telling the Compiler What It Already Knows
-
Kotlin's Billion-Dollar Fix: Null Lives in the Type System
-
Kotlin Collections Are Read-Only Until You Say Otherwise
-
A Kotlin Lambda Is a Value You Can Pass Around
-
Lambdas at Work: Transforming Collections
-
Closures: What a Lambda Remembers
-
Lambdas, Sharpened: References, Returns, and Anonymous Functions
-
Why Lambdas Are Free, and Lambdas That Read Like Syntax
-
A Kotlin Class Is Mostly Its Header
-
One Keyword Does the Work: Kotlin's data, enum, sealed, and object
-
Enums in Kotlin: Small, Useful, and More Powerful Than They Look
-
Kotlin Interfaces Carry More Than Java's Ever Could
-
Extension Functions: Add Methods to Classes You Don't Own
-
In Kotlin, == Is the One You Actually Want
-
Destructuring: Unpacking an Object in One Line
-
Kotlin Has a Visibility Level Java Doesn't: internal
-
The by Keyword: Delegation Without the Boilerplate
-
Kotlin Generics: Variance Without the Wildcards
-
Unchecked and Unbothered: How Kotlin Rethinks Java's Exception Handling
-
Calling Java From Kotlin (and Back) Without Friction
-
let, run, apply, also, with: Picking the Right Scope Function
-
Operator Overloading, Kept on a Leash
-
Coroutines: Asynchronous Code That Reads Like It Isn't