3 ms·
That's true of nearly every language. "Passed by reference" is almost non-existant in reality, there's only "Pass by value copy" and "pass by copy of the refere
by jerf 11y ago
That's true of nearly every language. "Passed by reference" is almost non-existant in reality, there's only "Pass by value copy" and "pass by copy of the reference" in most cases. The nature of structured programming and the way parameters come in to functions all but forces this; if you have a real function call (that is, not inlined), the reference has to be a copy.
There's a few interesting exceptions to this, but they're very much exceptions.