For Programmers: Free Programming Magazines  


Home > Archive > Functional > July 2004 > Re: FP tutorial for OO programmers? [LONG]









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: FP tutorial for OO programmers? [LONG]
Joachim Durchholz

2004-07-08, 4:02 pm

Thomas Lindgren wrote:

> Each process has a key-value dictionary, which I guess is what
> Joachim means.


Confirmed.

> You access it using put(Key, Value) and get(Key). The stored values
> as such can _not_ be mutated.


Agreed, but that still destroys immutability. If the meaning of an
Erlang value is tied to whatever a process dictionary associates with
it, and that name-value binding changes over time, then that value is
mutable for all intents and purposes even if this not technically so.

(The same goes for ETS and Mnesia tables.)

Regards,
Jo
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com