On 11/23/2014 11:21 PM, Steven D'Aprano wrote:

In some of these languages, the use of "this/self/me" is optional, but
I'm not aware of *any* OOP language where there is no named reference to
the current object at all.


The case I found astounding in C++ was in the initializer list where the line

    value:value

would assume that the first one was this->value, and the second was a local named value (usually an argument to the constructor).


--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to