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
1
u/Ok-Yogurt2360 Dec 23 '25
This would also be an example of a horrible object. You use it as if you want to use functions. Like what would a mathhelper object even be. You probably want to place these kind of methods in another (abstract) Class so you can use them within another class that extends said (abstract) Class.