~/talk

Designing Functional Programs

Talkat Oracle OpenWorld 2017 · 2017-10-01..10-05· [java]
slides:none on file

Argues that the payoff from functional style is function composition and lazy evaluation, not just immutability or lambdas, and shows Java 8’s limits: checked exceptions break stream pipelines, so treat errors as data and use promises/completable futures (data+error channels) or Observables/Flowable (data+error+completed channels) for N-item flows. Proposes a circle of purity (pure functions) surrounded by a thin impurity ring for IO, advocates persistent collections (Scala Vector / tries) and reports a ~33 ns cost to copy/modify a 100k-element vector.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19What am I really trying to do
  3. 9:01Higherorder functions
  4. 11:11Objectoriented programming
  5. 13:44Functional programming
  6. 17:12Haskell
  7. 22:03GHC I
  8. 24:23Functional Purity
  9. 28:51Functional Data Structures
  10. 43:08Observables
  11. 43:38Completeable
  12. 44:25Handling Exceptions
  13. 45:20Summary
~/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.