Pop quiz: Passing objects in Java is:
Granted, I think that differentiation really only matters if you come from C/C++ (or I guess Rust now).
-
-
Rust doesn't have pass by reference either. Rust, Java, Python, JS all have pass by value and "pass ref by val" (which is a subset)
-
I usually differentiate by the ability to pass a pointer to a stack var (even if it is pass by value under the hood)
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.