On Fri, 22 Sep 2017 02:57 pm, Bill wrote:

> I find Python to be more more
> like Java, with regard to "passing objects by reference".

Which is not a surprise, since both Python and Java use the same value passing
style: pass by object reference, or pass by sharing if you prefer.

Java people don't call it that. They call it pass by value, and categorically
deny that it is pass by reference. (They're right about the second point.)

It also the exact same passing style as used by Swift, except Swift calls it
pass by reference, and denies it is pass by value. (They're right about the
second point.)



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to