News for hackers. Stuff that matters.
Re:Java is Pass-by-Value, Dammit by jjnoakes on Monday March 23, 2015 @06:34PM (#9253755)
JLE? Or JLS? If you mean the spec (JLS) then I agree, you can find everything there. Including what I wrote above - that "Java object references" are the same thing as "Java pointers" (both in the JLS). The JLS also describes parameter passing in excruciating detail, and it matches the definition of "pass-by-value" (not "pass-by-reference") exactly.

But if people in this thread could read and understand the JLS, this thread wouldn't exist. Since it does, some of us feel like we should contribute and correct the false statements we see.

Re:Java is Pass-by-Value, Dammit by mannykannot on Tuesday March 24, 2015 @08:01AM (#9256033)
You are right, JLS. With regard to whether these comparisons with C++ have led to the desired results, see elsewhere.