~/talk

Getting started with Functional Programming

Talkat droidcon London 2022 · 2022-10-27..10-28· [functional-programming]
slides:none on file

Shows a concrete refactor: mutable product-list sort that originally calls list.sort becomes a pure function that returns a new copied list, is testable, and can run on another isolate. Uses immutable helpers like KT Dart and the fast_immutable_collections idea plus utilities from dartx (sortedWith, compareBy) and a small higher-order reverse function to flip comparators. Result is fewer branches, easy extension by map lookup, and deterministic, cacheable behavior.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:53Pure functions basics
  3. 5:06Functions in functional programming
  4. 9:00Immutable data structures
  5. 13:18First-class and higher-order functions
  6. 20:20Functional Dart solution
  7. 24:16Dart team's functional future
  8. 27:02Recap and conclusion
  9. 28:06Q&A session
~/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.