You Gotta Try This
summary
Generates a tiny library called not library that creates null-object classes (defaults return nil), adds variants like a black hole null object that returns itself and a traceable null object that records file and line, and implements defer helper to queue operations so impersonation (inherit-from-target then null out methods) works. Command objects become auto-discovered plugins via a commands namespace. Code simplifies builders, ships, and demonstrably works; pairing weekly energizes and spreads these techniques through the community.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:03Null Object Pattern
- 2:34The Null Object Pattern
- 3:58Write a Null Object Library
- 5:08Black Hole Null Object
- 11:54Generate a Null Class
- 19:22Deferring Operations
- 28:15Building Blocks
- 35:17Command Object
- 38:15Conclusion








