
Sept. 29, 2015
12:38 a.m.
On 9/28/2015 5:48 PM, Luciano Ramalho wrote:
Glyph tweeted yesterday that everyone should watch the "Nothing is Something" 35' talk by Sandi Metz at RailsConf 2015. It's great and, in a way, relevant to this discussion.
I understood Metz as advocation avoidig the nil (None) problem by giving every class an 'active nothing' that has the methods of the class. We do that for most builtin classes -- 0, (), {}, etc. She also used the identity function with a particular signature in various roles. -- Terry Jan Reedy