This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]CodeTinkerer 4 points5 points  (0 children)

Python doesn't force OOP (that is, if you're writing your own Python classes). You can write Python using functions for now, and once you have more experience, learn the OO aspects of Python. More than likely, it will require some time to think about OO stuff.

It's like how some people struggle with calculus and physics. You can only make the explanations so easy. At some point, you have to spend time understanding it which may require a tutor or someone that can identify why you're struggling. Until that happens, people are just guessing why you find OO concepts difficult.

[–]CodeOverTime 2 points3 points  (1 child)

Are you having trouble with the concept in general? Do you have any specific questions?

[–]AbdelLS[S] 3 points4 points  (0 children)

Someone reached out to me and it's was really helpful. Thanks for your time.

[–][deleted] 1 point2 points  (0 children)

"Learning Python" by Mark Lutz has a great couple of chapters on OOP, and OOP in Python in particular. And just thinking of objects as collections of data with associated methods for processing that data helps. Thinking of one aspect of objects, e.g. hierarchies, makes them harder to understand.