~/talk

Functional architecture - The pits of success

Talkat NDC Sydney 2016 · 2016-08-01..08-05· [frontend-architecture]
slides:none on file

Argues that functional code naturally produces ports-and-adapters structure by forcing a strict pure vs impure boundaries discipline; demonstrates with F# and Haskell examples of a reservation flow (validate JSON, read reserved seats from DB, check capacity, save reservation, return HTTP) where three pure functions and two impure ones compose cleanly. Shows Hindley‑Milner typing in Haskell makes missteps fail to compile, and claims pure functions yield isolation so unit tests are simpler and less brittle.

AI-written summary · about

  1. 0:00Intro
  2. 2:30Nonfunctional requirements
  3. 5:55Preface
  4. 8:20Port and adapters
  5. 13:00Pure functions
  6. 16:50Restaurant reservation example
  7. 20:50impure function
  8. 29:05concentric circles
  9. 33:05encapsulation
  10. 36:13domaindriven design
  11. 36:50objectoriented design
  12. 41:07functional programming
  13. 41:27user
  14. 42:26module
  15. 43:01Haskell
  16. 43:32Testability
  17. 45:15Testinduced damage
  18. 47:36Higherorder functions
  19. 50:06Unit tests
  20. 52:19Isolation
  21. 53:07Pure function
  22. 54:07Unit testing
  23. 55:00Isolation is important
  24. 55:44Opie is the problem
  25. 57:24Isolation vs testdriven development
  26. 58:14Writing pure functions
~/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.