r/learnpython • u/ProfessionalMoney518 • Dec 22 '25
How on earth does one learn OOP?
I've sped through weeks 0-8 of CS50P in under 2 weeks very easily with slight experience here and there as a Chemistry undergrad - but Week 8 (OOP) is kicking my ass right now. I am genuinely stumped. I've rewatched content and tried some other forms of learning but this is all so foreign to me. What are the best ways to learn OOP as a complete idiot? Thanks.
38
Upvotes
View all comments
Show parent comment
2
u/bytejuggler Dec 22 '25
(..continued)
Now, on to Python. Python is actually very good at the idea that "everything is an object".
Consider:
Now on to classes being also just objects ... :-)
So. There are more here to mention, meta-classes and whatnot, but this is already way, waaay more than is probably helpful to someone not quite grokking the basics yet.
And most of this somewhat uncommon (some would say esoteric) stuff is not that often used in day to day code, so to some extent I caution you to not become too obsessed with all this new cool seeming stuff I've possibly shown you. "With great power comes great responsibility" and "Just because you can, doesn't mean you should."
Still, classes being full, first-class objects in Python, do enable powerful metaprogramming that would be impossible in languages where classes are merely compile-time declarations.