On Mon, May 17, 2010 at 11:20 PM, Peter Schuller <peter.schul...@infidyne.com> wrote: >> Actors in Erlang DO have mutable state, you're just discouraged from >> using it. ;) No really, erl -man get and set. Sometimes you're forced >> to use this despite the best of intentions. > > I don't think anyone is trying to claim that it is impossible to > mutate shared in state in an erlang actor.
I'm not sure many people here have any clue what they're talking about, especially when it comes to Erlang. I thought I'd make it clear. > The claim is rather that the intended fundamental model implemented by an > actor is not one of > shared mutable state. I'm not sure why a getValue/setValue is any different from an ='s sign. Instability and unpredictability still results. Be they actors or threads, neither really solves any sort of problem save perhaps atomic updates. This all seems quite far afield of the original claim of the article, which was primarily that Actors are not composable and thus inferior to more functional programming. Even if we lay aside the implicit assumption that composability is a benefit, we're still left with the absurdity of the statement. Monads, one of the more important and critical constructs for purely functional programming, are not composable. The whole thing is absurd, and associating it with anything clojure-esque only lets that absurdity rub off. > > -- > / Peter Schuller > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- -- Dave Fayram dfay...@gmail.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en