~/talk

New Language Features in Kotlin 1.4

Talkat Kotlin 1.4 Online Event · 2020-10-12..10-15· [kotlin]
slides:none on file

Covers concrete, usable changes: SAM conversions for Kotlin classes via the new fun interface keyword, explicit API mode that forces visibility and return types for library modules, and a new type inference algorithm that fixes about 300 issues so more code compiles without casts. Also details like trailing commas, mixing named and positional args, unified NullPointerException, and experimental JVM default method modes—implementation changes and backward‑compat options are explained, not just promises.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Kotlin 1.4 Language Features
  3. 0:54SAM conversions for Kotlin interfaces
  4. 1:20SAM conversion for a Java interface Java
  5. 1:35SAM conversion for a Kotlin interface
  6. 2:40Why functional interfaces?
  7. 3:42Explicit API mode
  8. 4:00Specify member visibility
  9. 6:11Strict mode: reports errors
  10. 6:37Trailing comma
  11. 6:47Argument list
  12. 7:37Function declaration
  13. 7:50Class declaration
  14. 8:22Workaround: using labels
  15. 8:54Mixing named and positional arguments
  16. 9:27Kotlin 1.3: mixing not allowed
  17. 9:50New Type Inference
  18. 11:21Kotlin 1.3: lambda's last expression
  19. 11:45References to functions with default argument values
  20. 12:57Unified exception type for null checks
  21. 13:45The message remains the same
  22. 14:31This makes future optimizations possible
  23. 15:45Generating default methods in interfaces (experimental)
  24. 19:19New modes
  25. 19:47What's New in 1.4 documentation page What's New in Kotlin 1.4.0
~/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.