~/talk

From OO Patterns to Functional Programming w/o Killing Yourself

Talkat WindyCityRails 2016 · 2016-09-15..09-16· [functional-programming, ruby]
links:none on file
slides:none on file

Converts a sprawling OO strategy-based mortgage scoring system into a pipeline of pure data-transforming callables using Ruby lambdas/modules as callables and simple hashes, using merge+reduce to thread immutable state. Replaces many strategy classes and heavy object passing with a configurable per-bank ordered list of functions (data-as-hash pipeline). Adds new banks move from ~two weeks to “pleasant and fast,” system runs in production for over a year with no major incidents.

AI-written summary · about

  1. 0:00Intro
  2. 0:18About me
  3. 1:15ObjectOriented Programming
  4. 3:06I did my research
  5. 3:44Business context
  6. 4:40Credit Score
  7. 5:18Credit Score Implementation
  8. 6:15Score Calculator
  9. 7:06Private Methods
  10. 7:23refactoring
  11. 8:19production
  12. 9:00bank report
  13. 9:43new banks
  14. 11:25strategy patterns
  15. 12:06amortization strategy
  16. 12:57new strategies
  17. 13:30pain
  18. 14:03slow
  19. 15:05classical symptoms
  20. 15:25trying different solutions
  21. 17:12semantically
  22. 18:36first class functions
  23. 18:50lambdas
  24. 20:49pipeline
  25. 23:58final solution
  26. 24:49lessons learned
~/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.