Very, Very Green Python User

hanumizzle at gmail.com hanumizzle at gmail.com
Wed Mar 15 13:58:26 EST 2006


Dennis Lee Bieber wrote:
> On 12 Mar 2006 17:58:43 -0800, hanumizzle at gmail.com declaimed the
> following in comp.lang.python:
>
> >
> > Double-underscore methods are rewritten with the class name? That's an
> > ugly hack, but remember I'm coming from Perl. If the language doesn't
> > pull many other hijinks, that's OK.
> >
> 	Compared to a language that added OO by requiring the user to
> "bless" things to make it behave as an object, you find name-mangling
> for "private" methods to be ugly?

I saw the duplicity in my own post; mai ben rai. :D

> 	I suggest you never look under the hood of a C++ compiler...They
> not only name-mangle, but add such crud as type/size codes for arguments
> and return value -- all to be able to invoke the correct method due to
> overloading.

I've heard about the brain damages of C++. Never programmed in it;
don't need to. If I were ever forced to program C++ as a result of a
career, I think I would probably quit.




More information about the Python-list mailing list