~/talk

Imperative, declarative, object oriented, functional: four of a Kotlin kind

Talkat Android Worldwide January 2024 · on Tuesday, 2024-01-30· [kotlin, functional-programming]
slides:none on file

Kotlin demonstrates concrete support for all four paradigms and recommends using each where it fits: imperative uses mutability, nullability, if-as-expression and loops; declarative shows Jetpack Compose and a DSL using extension-lambda on Card to build UI/config; object oriented relies on data classes, delegates, default and named params; functional uses lambdas, chainable operations (filter/map/reduce) to chain filter map sum for Joker points, monad-style wrappers for errors and tailrec prevents stack overflow with compiled Java output shown.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:11Imperative programming
  3. 6:48Kotlin imperative features
  4. 10:55Declarative programming
  5. 13:05Declarative examples
  6. 14:41Kotlin and DSLs
  7. 20:00Object-oriented programming
  8. 26:22Functional programming
  9. 36:01Tail recursion and streaming
  10. 41:46Real-world application
~/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.