Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
version_five
· 4y ago · 0 comments
In python, you could also type
>>>a + [4] [1,2,3,4]
and b would be unaffected. This is logically consistent, assignment is not the same as doing an in place operation. I don't have an explanation for the java one
Comments
No comments yet.
Better HN