News for hackers. Stuff that matters.
Re:Java is Pass-by-Value, Dammit by olavk on Sunday March 22, 2015 @05:40AM (#9246176)
I've never seen actual bugs due to a misunderstanding of the concept though. It seem to be mostly a terminology difference between c++ and Java cultures. It is correct to say that Java passes objects as references, but it is technically wrong to say that Java is pass-by-reference. But since Java has only one way of passing objects, this terminology confusion does not lead to actual problems.
Re:Java is Pass-by-Value, Dammit by jjnoakes on Sunday March 22, 2015 @10:22AM (#9246812)
Except they are different things, and others (me included) have seen bugs related to the confusion.

Technical correctness is always best. Java is pass by value, and even variables holding object references are passed by value.