[erlang-questions] *current* value?
Wed Oct 17 20:56:22 CEST 2007
On 10/17/07, David King <> wrote:
> > No, he's saying that usually you write programs like this:
> > So that all of the state is encased in the arguments, rather than
> > putting some in the process dictionary.
Okay, that I understand - process dictionary is discouraged in Erlang, Joe
states so in his book. He did, however, says this in the book:
One form of usage that I do approve of is to use the processes dictionary to
store "write-once" variables.
Anyhow - I'm simply trying to see if there are other ways besides process
dictionary to simulate "current" variables. Seems like there is not.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions