r/PythonLearning • • 29d ago

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

38 Upvotes

50 comments sorted by

View all comments

1

u/Solid-Inside-2315 26d ago

I am a seasoned software engineer and I think Python is not the best language to learn the principles of OOP in my opinion. The reason is that Python is a very loose language and you can easily divert from the principle as the code wil not always enforce it. If you have trouble learning OOP, I would recommend trying Java or C# as they fully embrace class based OOP. Combine this with AI to explain it while you do a small build of something tangible that will help you understand it better I believe. One note, it takes time to grasp so you need to do the flying hours! Happy coding.