News for hackers. Stuff that matters.
Re:Erlang: What the Cool Kids Are Doing by paulgb on Tuesday January 15, 2008 @07:21PM (#98976)
Lisp is not purely functional (few languages are). Purely functional languages do not let you modify variables.

Edit: Also, programmers in non-pure functional languages will often still minimize their use of mutation (changing variables) for a number of reasons.

Re:Erlang: What the Cool Kids Are Doing by Tichy on Wednesday January 16, 2008 @08:02AM (#99192)
In any case, when evaluating Erlang, I found the immutable variables to be rather unpractical. I can see why they might help to avoid errors with multi threading, but I don't see a reason to be excited about it? At the end of the day, it is another limitation of the language. With Java, that is what people complain about, the constraints, why wish for it in other languages?

If you think that immutable variables reduce programming errors, you are free to just not change your variables anyway, I guess. No language constraint required.