~/talk

Let's get functional

Talkat droidcon Berlin 2015 · 2015-06-15..06-17· [functional-programming, android]
slides:none on file

Argument that functional ideas (immutability, pure functions, no side effects) make Java 7 Android code smaller, more predictable and easier to test, demonstrated with concrete rewrites: a hand-rolled word-count becomes a groupBy + map to pairs one-liner, list folding replaces loops to fold to sum a basket, and filtering/mapping composes for sorting and thresholds. Recommends tools and languages to apply this now: RxJava, AutoValue, Retrolambda, Kotlin and incremental migration from imperative code.

AI-written summary · about

  1. 0:00Start
  2. 2:42What's the point?
  3. 7:59Pure functions
  4. 9:05You can use most common languages
  5. 17:34What is your data?
  6. 20:52Fold?
  7. 24:14Start small
  8. 27:23Good reads
~/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.