2 ms·
Sort of a sidebar: The term "atom" doesn't seem to have the same meaning in all languages. Atoms in Clojure are reference types, and they are mutable in a cont
by ams6110 13y ago
Sort of a sidebar: The term "atom" doesn't seem to have the same meaning in all languages.
Atoms in Clojure are reference types, and they are mutable in a controlled way (they can be changed to refer to another immutable value).
In Erlang, an "atom" doesn't refer an immutable value, it is the immutable value. An Erlang atom by definition cannot ever be any other value.