~/talk

Playing with Experimental Kotlin Features

Talkat droidcon New York 2025 · 2025-06-25..06-26· [android]
links:none on file
slides:none on file

Overview of concrete changes and how to try them: Kotlin 2.2 adds multi-dollar interpolation (use $$ to emit $ in multiline strings), guard conditions in when, and non-local break/continue for inline lambdas; enable experimental flags with -X or update to 2.2. The evolution repo shows ~49 open KEEPs so check proposals and UTRA for status. Upcoming: context parameters (renamed from context receivers), nested type aliases, and the must use return values checker (-X return-value-checker) with 2.3; name-based destructuring and rich errors target 2.4.

AI-written summary · about

  1. 0:00Experimental Kotlin features
  2. 1:05Kotlin evolution and new features
  3. 3:13Kotlin KEEP proposals
  4. 6:29Kotlin feature stages
  5. 9:42Experimental compiler flags
  6. 11:33Kotlin 2.2 features
  7. 14:05Multi-dollar string interpolation
  8. 15:54Guard conditions in when
  9. 17:44Non-local break/continue
  10. 19:10Context parameters
  11. 25:33Must-use return values
  12. 30:35Non-capturing type aliases
  13. 32:43Annotation use-site targets
  14. 34:50Kotlin 2.4 preview
  15. 35:13Name-based destructuring
  16. 37:26Rich errors and union types
  17. 39:34Summary
~/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.