A World Without Assignment
summary
Demonstrates that Ruby and Scheme solve common problems without mutation by using recursion, lists, anonymous functions and function composition, with no assignment and explicit avoidance of set! or =. Shows factorial, Fibonacci and an exponent helper using tail-call optimization to avoid deep stacks, builds a scheme and Ruby implementation of the classic coin count-change = 292 for a dollar, and reports the Ruby version runs correctly while the Scheme version reads more concise.
AI-written summary · about
chapters (10)
- 0:00Intro
- 2:47Functional Programming
- 3:29No Assignment
- 4:11Why Functional
- 6:15Scheme 101
- 11:54Recursion
- 13:03Tail Call Optimization
- 15:51Making Change
- 16:18Writing an Example
- 23:57More Functions








