Unique atom with make_ref()?

Daniel Rönnqvist <>
Thu Feb 4 12:27:24 CET 2010


Hello,

Why sholdn't I use erlang:ref_to_list/1 in application programs? As it
says here:

http://erlang.org/doc/man/erlang.html#erlang:ref_to_list-1

Let's say that I wanted to create a unique atom, isn't this a good way?

list_to_atom(erlang:ref_to_list(make_ref()))

BR,
Daniel Rönnqvist


More information about the erlang-questions mailing list