~/talk

Fight Complexity with Functional Programming

Talkat All Things Open 2020 · 2020-10-19..10-20· [frontend-architecture]
links:none on file
slides:none on file

Claims a metric-driven method reduces cognitive complexity for REST API bulk-request-validation and shows a reusable framework called Vader used at Salesforce, implemented in Kotlin and Arrow and measured with SonarQube where cognitive complexity drops to single digits. Demonstrates validators-as-values, lifting child validators into parent context, configurable fail-fast and error-accumulation orchestration, parallel traversal, and use of the either monad to hold partial failures. Demo code, slides and a production case study back the claim.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Functional Programming
  3. 1:03IDE vs Dark Theme
  4. 4:37Declarative
  5. 6:09Code Example
  6. 9:28Imperative vs declarative
  7. 10:38Parallel vs declarative
  8. 12:28Monads
  9. 24:16Validation
  10. 24:36Imperative
  11. 31:06Chaos
  12. 31:46Chain of Responsibility
  13. 32:43Validations are Functions
  14. 34:09Make Everything Immutable
  15. 36:29Heterogeneous Data Types
  16. 38:29Type Alias
  17. 40:24Order of Validations
  18. 44:34Orchestration
  19. 48:59Operators
  20. 49:34Partial Failures
~/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.