Terminology: "reference" versus "pointer"

Gregory Ewing greg.ewing at canterbury.ac.nz
Wed Sep 16 10:14:41 CEST 2015


Emile van Sebille wrote:

> Shroedingers-cat-was-just-a-cat-in-a-box-too-ly y'rs,

The real question is, if you kill Schroedinger's cat, does
Heisenberg's cat die too? If so, then either they're the
same cat, or they're two entangled cats.

This suggests an alternative model for Python computation.
All data is represented by cats. A variable is a box
containing a cat. Assignment replaces one cat with an
entangled copy of another cat, so that mutating either
one affects the other.

-- 
Greg


More information about the Python-list mailing list