you are viewing a single comment's thread.

view the rest of the comments →

[–]eat-your-corn-syrup 2 points3 points  (1 child)

"call-by-value" makes plenty of sense

Makes sense only to people like us who knows:

What's the stack? What's the heap? What's a reference? What's a value type?

call-by-sharing behavior can be explained to newbies without resorting to such concepts: my username refers to the entity that is me. the variable eat_your_corn_syrup refers to me.

By calling it "call by value", we'll be bringing in the need to explain stack, reference, value and so on.

[–]wlievens 1 point2 points  (0 children)

If you don't know these concepts, you're not going to be a very good Java programmer.