r/PythonLearning • u/Defiant_Meal1898 • Oct 28 '26
I don't understand OOP
So i am a teen learning python, and i have learnt about classes, methods and objects, but i don't understand OOP, like what is it, where do we use it?
Please help mee
36
Upvotes
View all comments
1
u/Achereto 24d ago
OOP is the idea to couple data with behaviour and them as a unit. The idea of OOP is to think in terms of those units.
The reality is that this never really works, because you either end up with "god objects" (few objects that have a LOT of methods) or you end up with code that is so fragmented that it becomes really hard to change.
Don't bother learning it unless you have to. pure data and procedures is all you need.