[erlang-questions] Erlang and Akka

Xiao Jia me@REDACTED
Thu Aug 28 05:55:17 CEST 2014


>
> It was not fun, and I thinked "If I can get rid of these mutable
> VARIABLES....". And in Java/PHP/Python I found the same problem here and
> again.
>
But in such languages as C++/Java/... we are not forced to mutate variables
so we can still employ some coding style/guidance of creating new objects
instead of mutating existing objects most of the time.

For example in C++
  const int x1 = 1;
  const int x2 = x1 + 1;
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140828/9a9a4a9b/attachment.htm>


More information about the erlang-questions mailing list