|
|
|
|
|
by kazinator
2165 days ago
|
|
Objects that can be equal but not identical are not symbols. They are, at best, cargo culted symbols: character strings with a tag bit which says "read/print me without quotes, so I visually look like something out of Lisp". |
|
Whether Clojure's object model and equality semantics as a whole make sense is certainly up for debate. It's highly opinionated and no silver bullet.
But once it's in place, the decision of whether to intern symbols is a trivial implementation detail.
I incorrectly assumed they were interned for seven years of using Clojure professionally, it has never made a difference, and I can't come up with a scenario where it plausibly would.