Re:Think Python 2e
by Kwpolska on Wednesday April 05, 2023 @02:01PM
(#35458092)
Python's official reference might be more appropriate for this. But sometimes, even if things seem similar (e.g. both languages have variables), the semantics might be different. C/C++ has passing by value or by reference. Python and Java has neither, you can mutate the object, but you cannot reassign it (so you can't change the value of an int, but you can change some field of an object.
[ Parent
| on HN ]
There are no comments on this comment yet.