~/talk

Idiomatic Kotlin

Talkat IntelliJ IDEA Conf 2022 · 2022-09-29..09-30· [kotlin]
slides:none on file

Covers concrete idioms that make Kotlin both shorter and safer: use of top-level and extension functions (Spring’s JdbcTemplate Kotlin extensions move lambdas to trailing position), scope helpers like apply/let/also for initialization and null checks, and null-safety tools including Elvis and safe-call plus safe casts. Shows a real Advent of Code solution rewritten with standard-library pipelines (map → reduce → sumOf) to replace loops. Mentions Kotlin 1.7.20’s experimental range-until and recommends IntelliJ IDEA for the workflow.

AI-written summary · about

  1. 0:00Idiomatic Kotlin intro
  2. 7:14Top-level and extension functions
  3. 16:27Java APIs in Kotlin
  4. 17:10Scope functions and lambdas
  5. 25:44Named parameters and defaults
  6. 29:22Expression body syntax
  7. 35:02Null safety in Kotlin
  8. 41:09Safe casting and types
  9. 42:14Ranges and their practical use cases
  10. 47:13Functional style in Kotlin
  11. 53:18Kotlin 1.720 features
  12. 53:40Q&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.