Discussion about this post

User's avatar
Mike C's avatar

For a relative beginner like I am (I am a student...not a professional software engineer), this article is truly a blessing. It took the rather confusing OOP subject of class methods and made it straight forward for me to get to a first gut-level understanding. I also celebrate the real-world example pulled from a professional Python space, succinct conclusions, and the resource section. Thank you, Eric.

Expand full comment
Rogerio Moraes de Carvalho's avatar

If I'm not wrong, languages like C# and Java treat static methods and class methods as the same concept. In that languages, static or class methods doesn't have access to instance fields (attributes), but can or cannot access class members. Do you know what was the motivation to differentiate static and class methods in Python?

Expand full comment
3 more comments...

No posts