Hacker News new | past | comments | ask | show | jobs | submit login

I've heard Python's object system isn't that different under the hood.



You even have the same boilerplate of the first argument to a class member function being the object itself.


Yes. I was thinking mainly of Perl's symbol table which I believe is also how OO is implemented in Python.


My understanding was that Perl's OO system was directly inspired by Python's. I can't find a source on that though.


Other way round I think.


Nope. http://www.perl.com/pub/a/2007/12/06/soto-11.html

> I don’t really know much about Python. I only stole its object system for Perl 5. I have since repented.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: