[erlang-questions] call by value
Martin Dimitrov
mrtndimitrov@REDACTED
Thu May 19 17:50:17 CEST 2011
On 5/19/2011 6:43 PM, Daniel Dormont wrote:
> In my experience with other languages, the difference between call-by-value and call-by-reference is not generally understood to depend on whether the data in memory is physically copied or not. That's really an implementation detail.
On first read I can't think of an example where the implementation is
not actually copying the value.
> Rather, the difference is whether the argument "itself" is passed as opposed to its value.
>
Would then in Erlang be more appropriate to say that the argument
"itself" is being passed, thus saying call-by-reference?
More information about the erlang-questions
mailing list