Nothing is Something
summary
Argues that every nil or hidden assumption is a missing concept and shows concrete Ruby fixes: monkey-patch true/false to illustrate removing conditionals, implement the null object pattern to replace nil checks, and build the “house that Jack built” with subclasses (RandomHouse, EchoHouse) to demonstrate the combinatorial explosion of inheritance. Refactors into injected orderer/formatter roles (use Shuffle, zip/flatten) so composition replaces duplication, pushes object creation to the system boundary, and prefers dependency injection over spreading conditionals.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:23What can you do
- 2:39Small talk infected
- 10:20nil
- 17:35ActiveNothing
- 20:20Null Object Pattern
- 29:15Random Echo House
- 37:12Conclusion








