Programming with Nothing
summary
Implements FizzBuzz using only Ruby procs with no numbers, strings, booleans, classes, control flow, standard library or gems, representing integers as Church numerals, booleans as choice procs, lists as pairs as lists, and recursion via the Z combinator (a Y variant) plus currying. The program builds range, map, mod and number-to-string entirely in code, encodes 1, 3, 5, 15 and 100 as procs, produces an array of Fizz/Buzz strings and runs correctly but expands into a huge, slow term that requires many reductions.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:22Why I love Ruby
- 0:52Ruining Ruby
- 1:20Rules
- 1:49Goal
- 2:20procs
- 4:18Syntax
- 5:20Fizzbuzz
- 6:55Representing Numbers
- 10:11Representing Boolean
- 15:07Numeric Operations
- 20:29The Y Combinator
- 23:50Lists
- 25:50Strings
- 28:33Conclusion
- 32:57Question
- 33:22Running the code








