2 ms·
My made-up term "pass-by-pointer-value" just emphasizes the fact that in Java, Python, and sundry other OOP languages, you are always passing around a pointer t
by colanderman 9y ago
My made-up term "pass-by-pointer-value" just emphasizes the fact that in Java, Python, and sundry other OOP languages, you are always passing around a pointer to an object, even if it is implicit. This is why e.g. equality usually checks object identity (pointer value) in these languages (Python being a notable exception).
C++ just forces you to be explicit about this, as others have pointed out.