object types, mutable or not?

Paul Moore p.f.moore at gmail.com
Wed May 16 09:48:27 EDT 2018


On 16 May 2018 at 14:23, Ned Batchelder <ned at nedbatchelder.com> wrote:

> I've also experimented with different ways to better say "everything is an
> object".  One possibility is, "any right-hand side of an assignment is an
> object," though that is a bit tortured.

C++ called that an "rvalue". And then went on to define things that
could go on the left hand side of an assignment as "lvalues". And now
we have two confusing concepts to explain - see what happens when you
let a standards committee define your language? :-)

Paul



More information about the Python-list mailing list