Y
Hacker News
new
|
ask
|
show
|
jobs
by
Ericson2314
227 days ago
You are thinking "call by value". The author probably used "pass" not "call" specifically to avoid this.
1 comments
kazinator
226 days ago
There is no difference. Call-by-alue is the older term, and I believe still preferred in CS acdemia.
link
gpderetta
226 days ago
I think that call-by-value/call-by-name/call-by-need[1] are more about strict vs lazy evaluation, as opposed to by-value/by-reference semantics.
[1] there is also call-by-push-value, but i was never able to wrap my mind around it.
link