Explanation of list reference
ben+python at benfinney.id.au
Mon Feb 17 00:05:46 CET 2014
Gregory Ewing <greg.ewing at canterbury.ac.nz> writes:
> Chris Angelico wrote:
> > Because everything in Python is an object, and objects always are
> > handled by their references.
> <beginner_thought> So, we have objects... and we have
> references to objects... but everything is an object...
> so does that mean references are objects too?
My response: No, because references are not things :-)
I've never known a programming beginner to express such a question. Have
Were they beginners at programming, or experienced programmers who were
coming to Python with the data models of other languages already in
\ “Computer perspective on Moore's Law: Human effort becomes |
`\ twice as expensive roughly every two years.” —anonymous |
More information about the Python-list