@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.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies