~/talk

How Kotlin makes your Java code better

Talkat ACCU 2019 · 2019-04-10..04-13· [kotlin, java]
slides:none on file

Concrete examples show Kotlin replacing verbose Java patterns: a Java value object with constructor, getters, equals, hashCode and toString becomes a data class one-liner that passes the same tests; optional parameters and named args replace builders; nullability marked by ? and handled with the Elvis operator prevents NPEs so a Map lookup no longer throws; sealed classes plus when expressions give exhaustive, type-safe branching; val is immutable by default; IntelliJ conversion migrates Java class-by-class with build changes.

AI-written summary · about

  1. 0:00Intro
  2. 2:09Contents
  3. 3:11Things that are good
  4. 5:48Good patterns
  5. 6:38Examples
  6. 6:48Value objects
  7. 11:22Parameters
  8. 14:52Null safety
  9. 21:58Immutability
  10. 26:07Handling cases
  11. 33:27Constructors
  12. 37:21Streams
  13. 44:57Summary
  14. 55:05More info
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.