Garbage collection of atoms

Michael C Williams mike@REDACTED
Tue Nov 2 09:41:48 CET 1999


On Tue, 2 Nov 1999, Joe Armstrong wrote:

> meta programming
> 
>       apply("mod", "func", ..)
>       
>       doesn't work

If mod and func are not previously defined you have a programming
error. I.e. when you do list_to_atom("mod"), you are almost
certainly not creating a new atom. So when do you want to
dynamically create atoms except when loading code?

/Mike





More information about the erlang-questions mailing list