~/talk

Kotlin Features Guaranteed to Surprise Java Developers

Talkat Developers Summit 2021 · 2021-02-18..02-19· [kotlin, java]
links:none on file
slides:none on file

Live code shows parsing api.open-notify.org/astros.json with Java Gson and Kotlin 1.5 features, returning 11 people in space, using URL.readText extension and a reified-fromJson wrapper so no Class<T> is required. Examples include data classes that generate equals/copy/toString and JVM overloads via @JvmOverloads, sequences for prime generation, and scope functions with extension functions and reified generics enabling concise APIs; null-safety uses the safe-call ?. plus Elvis operator.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Basic Kotlin differences
  3. 5:20Fetching JSON data
  4. 11:00Extension functions
  5. 17:03Scope functions like let
  6. 23:42Palindrome examples
  7. 30:08Null safety with safe call
  8. 36:52Data classes and constructors
  9. 42:06Prime numbers with sequences
  10. 47:26Advanced Kotlin features
  11. 49:32Q&A
~/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.