Bradley Schaefer
- 1y ·
-
Public·
-
ruby.social
@r3trofitted @noelrap It’s used as a literal in an API. The important thing about it is that it’s unique. Imagine it like `nil` except labeled with a name. It can’t be nil since that would otherwise be a valid value. The specific use case is a lot to explain.
Alternately I considered a Singleton instance, but the ergonomics of that weren’t great imo.