object types, mutable or not?
Ben Bacarisse
ben.usenet at bsb.me.uk
Thu May 17 13:39:36 EDT 2018
Anders Wegge Keller <wegge at wegge.dk> writes:
> På Wed, 16 May 2018 14:48:27 +0100
> Paul Moore <p.f.moore at gmail.com> skrev:
>
>> 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? :-)
>
> I'm not sure the C++ committee has to bear the responsibility for those
> terms. They are pretty well defined in the C world, so I think you need to
> point the finger of accusation at either Brian or Dennis.
The terms are much older than that. The first BCPL (1967) reference
manual uses the terms, and I don't think Martin Richards invented them.
(And C++ has added glvalue and prvalue to lvalue and rvalue.)
--
Ben.
More information about the Python-list
mailing list