~/talk

Taking inspiration from the functional world

Talkat Lambda World 2015 · on Saturday, 2015-10-24· [ruby, functional-programming]
slides:none on file

Shows concrete techniques for making Ruby code more functional: using IceNine to deep-freeze structures and the gem adamantium to build immutable objects (but object creation becomes 13x slower in a simple benchmark), composing transformations with a small library around Ruby method objects (Transproc) instead of monkey-patching Enumerable, handling failures with Maybe/Either-style monads, and organizing stateless, dependency-injected callable objects via a container (dry-container / dry-auto_inject) that are easy to compose and test.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17First job
  3. 1:50Learning more
  4. 2:22Shift to functional
  5. 2:53Ruby
  6. 4:08Immutable
  7. 6:26Deep Freeze
  8. 7:10Objects
  9. 7:38Iceline
  10. 8:37Useful for education
  11. 9:36Transforming data
  12. 10:52Map
  13. 12:36lambdas
  14. 13:18two abstractions
  15. 14:40numerable module
  16. 15:19chain method calls
  17. 15:48method objects
  18. 17:47Trans Prague
  19. 18:27Function Composition
  20. 19:07Pipeline Composition Operator
  21. 20:09Import Functions
  22. 21:32Monads
  23. 22:19Consistency
  24. 23:24Handling error
  25. 23:42Functional objects
  26. 24:42Stateless objects
  27. 26:30Object orientation
  28. 27:16Method call
  29. 27:57Input and output
  30. 29:47Dependencies
  31. 31:06Dry Container
  32. 32:03Dependency Injection
  33. 35:07Does it make sense
  34. 36:15Experimenting with Ruby
  35. 37:28No Object Oriented Languages
  36. 38:08Alexer
~/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.