Ruby versus the Titans of FP
summary
Compares Ruby to Clojure Haskell and JavaScript by showing concrete implementations not abstractions: implements a higher order map as a proc that delegates to Array#map, builds curried add with closures and uses Ruby’s native curry, implements binary and variadic compose then composes incrementers, and publishes a tiny reductio gem with add compose and map that works. Demonstrations include MapReduce-style composition, notes on ActiveRecord side effects, and promises benchmarks and an IO-style approach as future work.
AI-written summary · about
chapters (30)
- 0:00Intro
- 0:33Cassandras background
- 2:43Functional programming
- 3:56Easier to reuse logic
- 4:48Five key features of a functional programming language
- 5:40Closure
- 6:12List
- 6:34Lisp
- 6:50Lazy take
- 7:41Higherorder functions
- 8:05Map method
- 8:21Collections method
- 8:46Closure documentation
- 10:00Logins
- 10:34Currying
- 10:52Haskell
- 11:54HindleyMilner
- 12:34Add
- 13:52Courage Function
- 14:43Implementation
- 17:35JavaScript
- 18:57Pop mutates
- 19:26Randa
- 20:08Compose
- 20:38Add to
- 21:16MapReduce
- 22:20Logic Reuse
- 22:49Compositions
- 26:07What have we established
- 26:24Immutability








