2 ms·
No, it's pass-by-name, which can feel like pass-by-reference. And yes, it's only that.
by cryptonector 5y ago
No, it's pass-by-name, which can feel like pass-by-reference. And yes, it's only that.
- dllthomas 5y agoI usually associate "call-by-name" with laziness. Isn't this more pass-by-reference that may happen to be implemented using names under the hood? Alternatively, how would you distinguish them?