Explicit Frustration of the Self

DeadWisdom DeadWisdom at wisefool.net
Sat Jan 4 09:04:19 CET 2003

Andres Rosado <arosado at softhome.net> wrote in message news:<mailman.1041557423.23389.python-list at python.org>...
> Have you programmed in C++? One of the main problems I find in C++ is the 
> implicit *this. Sure, it looks more compact and more cleaner, but as 
> projects get more complicated, you end up using this a lot more than you 
> thought. Handling more than on object of the same class inside the class 
> will give you a reasonable idea of the problem.
> ... 

Yes, I have actually.  I find the use of this-> redundant and an
excuse for bad programming.  Good programming, in my opinion, should
use variables that make sense, and are easy to read, etc.  I don't
believe "this->" to be usefull at all, in well programmed source. 
Ofcourse maybe I'm just idealistic about it.  Either way, C++ allows
you to decide whether or not to do it.  To be under the tyrany of the
Python self, I dislike it.

More information about the Python-list mailing list