[erlang-questions] Why should you ever use atoms?
Sun Oct 11 23:27:54 CEST 2015
You can think about atoms as of a predefined words of your domain logic.
Each domain description has a limited amount of words that describe it, so
number of atoms is also limited by design.
In a properly designed program you should never meet dynamic creation by
list_to_atom, only if you know that it is a
string representation of already described atom.
In other words, atoms are always written by hands by some human as a part
of described functionality.
Maybe this will help you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions