Terminology: "reference" versus "pointer"

Chris Angelico rosuav at gmail.com
Mon Sep 14 13:59:08 EDT 2015


On Tue, Sep 15, 2015 at 3:51 AM, Emile van Sebille <emile at fenx.com> wrote:
> Actually, boxes with integers in them isn't the appropriate analogy.
> Consider the naming of cats.  My cat is known to me as Paddy.  My next door
> neighbor sometimes feeds her and is known to her as Stripes.  The cat also
> is known as kitty to my youngest daughter.  The cat has no idea what its
> name is, it just is and eats.

Thanks for that. As someone who shares a house with a cat (not my
own), I find this apt and amusing. :)

ChrisA



More information about the Python-list mailing list