~/talk

Spring extensions for Kotlin

Talkat Spring I/O 2022 · 2022-05-26..05-27· [kotlin, spring]
slides:none on file

Spring Framework ships Kotlin-specific conveniences that are actual extension functions and DSLs rather than prose descriptions, with the generated starter even enabling a Kotlin compiler plugin by default (many users miss this). Examples shown include the runApplication extension, a jdbc operations extension that moves row mappers into trailing lambdas for clearer code, an operator overload for Model, and bean-definition DSLs. Practical rules: don't use data classes with JPA and rely on JSR-305 nullability annotations to make Java APIs safer in Kotlin.

AI-written summary · about

  1. 0:00Start
  2. 3:42Compiler Plugins
  3. 4:10Generated Sample
  4. 8:00Extensions
  5. 10:21Java Api
  6. 13:29Extensions and Trailing Lambdas
  7. 26:08Null Safety
  8. 27:33Nullable Annotations
  9. 29:04Features of Kotlin
~/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.