News for hackers. Stuff that matters.
Re:Java is Pass-by-Value, Dammit by rifung on Sunday March 22, 2015 @02:42PM (#9247759)
Ah good point about the stacks. However, I think the point still stands.. an argument being a pointer just defines its type, while an argument being a reference does not define its type, but that it's an alias to another variable.

Again, I think the issue is with terminology as someone else pointed out. Certainly a C pointer can be considered a reference when using the normal English definition of a reference, but "pass by reference" has a specific meaning, and in C you can't "pass by reference"

There are no comments on this comment yet.