A curated guide to Raymond Hettinger's best talks on Python object-oriented programming. Covers five key talks: 'The Art of Subclassing' (operational view of inheritance), 'Python's Class Development Toolkit' (instance/class variables, properties, slots), 'Super considered super!' (cooperative multiple inheritance and MRO), 'OOP from scratch four times' (why objects exist), and 'Beyond PEP 8' (Pythonic API design). Each talk is summarized with key takeaways to help developers rethink inheritance, use super() correctly, and write idiomatic Python classes.

6m read timeFrom death.andgravity.com
Post cover image
Table of contents
The Art of Subclassing #Python's Class Development Toolkit #Super considered super! #Object Oriented Programming from scratch (four times) #Beyond PEP 8 – Best practices for beautiful intelligible code #Bonus: The Mental Game of Python #

Sort: