If being correct makes me a snob, okay, but Java is pass by value. "Pass by value" means whatever the variable was is passed. In Java, the non primitive variables are references. So you pass that reference. If it were pass by reference you would pass a reference to that reference. That's not what it does.
There's a reason stuff like https://msdn.microsoft.com/en-us/library/bb347013(v=vs.110).aspx doesn't exist in java. Hint: that reason is that it does NOT have "pass by reference".. It's not some grammar discussion, there's technical differences.. You can't just redefine it as you wish.. And you're calling other people snobby, come on man..
20
u/JB-from-ATL Jun 18 '17
If being correct makes me a snob, okay, but Java is pass by value. "Pass by value" means whatever the variable was is passed. In Java, the non primitive variables are references. So you pass that reference. If it were pass by reference you would pass a reference to that reference. That's not what it does.