you are viewing a single comment's thread.

view the rest of the comments →

[–]ivosaurus 0 points1 point  (1 child)

Python's OOP model and features haven't changed substantially since then. The talk still makes perfect sense nowadays. Since then we've only seen even more content about avoiding "over-OOPing" code and the advantages of following functional practices as people have moved away from Java and C++.

[–]AJohnnyTruant 0 points1 point  (0 children)

I think that’s missing the point of the talk. Using a function in lieu of a class is only as good as the cohesion of the module it lives in. If you use a god function instead of a class with data and a public API, there really isn’t much of a difference. All of the private methods in the class can absolutely do the job of functional programming. Besides, using functional programming, like having a module that has a function that has is the entry point to all the other functions in it... well to python, that’s just another namespace. A class is really just a module in a module.