~/talk

Typed FP on the Job Why Bother

Talkat LambdaConf 2018 · 2018-06-03..06-05· [career-development]
slides:none on file

Claim: pure typed FP yields executable guarantees that cut defects and let code be reasoned about without exhaustive tests. Examples use Scala Zed and HTTP for us code: a function that fails one time in three is wrapped as a Task, errors become values, a generic logging decorator compiles once and cannot do anything else, and a three-line retry-via-streams solution powers the funnel distributed monitoring system. A Reason ml rewrite of half of Facebook messenger reports bug counts dropping to ~10/year, two orders of magnitude down.

AI-written summary · about

  1. 0:00The case for functional programming
  2. 3:16Treating functions as values
  3. 7:01Introduction to monads and error
  4. 10:44Declarative logging utility
  5. 17:50Testing with the REPL
  6. 19:30Implementing retry logic
  7. 29:10Demonstrating the retry utility
  8. 31:44Functional HTTP services
  9. 35:52Conclusion and benefits
~/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.