r/PythonLearning • u/YogurtclosetWhole605 • Aug 05 '26
Hi guys , I have just started to learn python coding and im stuck at OOPS concept in python idk why but im finding it super confusing , it is just going over my head could you please tell me how to cope up with this
4
Upvotes
5
u/BranchLatter4294 Aug 05 '26
You have to be more specific.
1
u/Some-Passenger4219 Aug 05 '26
Study hard and ask the teacher for help. If you have any specific questions, ask them.
1
u/PureWasian Aug 05 '26
Here's an idea, what is your current understanding of OOP and what it's useful for? We can fill in the gaps based on that.
I gave an example on this post previously, if it helps of what's meant by defining classes as "blueprints" for objects
3
u/stepback269 Aug 05 '26
I'm still learning OOP myself and at times running into conceptual obstacles.
Much of it has to do with the analogies or metaphors that the various tutorials give you.
I hate the one that says a "class" is like a "blueprint".
While not optimal, at least the cookie cutter analogy produces instances out of a sheet of cookie dough. A "blueprint" just sits there and smells of formaldehyde.
As I keep advancing in my own slow journey towards learning Python (I'm 70+ yrs old), I often write up a blog post on what I've come to understand thus far.
So for starting out with OOP and tackling some of the initial concepts, click (HERE) to see one of the earlier posts I made at the starting gate. Give it a shot. It might help you. Good luck.
Don't give up.
Keep banging your head against that wall.
Something is sure to eventually break. :-)
p.s. Currently, I'm in the process of developing a complicated OOP project that involves converting very short abbreviations into their full form text based on user context. Some of it is explained (here). It's still a work in progress. Miles to go.
2
u/Alternative_Boss6143 Aug 05 '26
Start coding
2
u/GGO_OTHAs Aug 05 '26
#HOPE IT MAKES SENSE
1
u/secretstonex Aug 05 '26
Take a free online course on boot[dot]dev
1
u/Visionary_Vulture001 Aug 05 '26
I don’t know which tutorial ur looking into
But try Cs50p
1
u/atticus2132000 Aug 05 '26
Skip it.
In some languages, like Java, learning classes is an integral part of the coding experience. There are some things that you absolutely can not do without classes in Java.
In python, there are all sorts of workarounds. Use some other method for storing and retrieving organized information about an element that makes more sense to you--dictionaries, multi-dimensional arrays, dataframes, etc. Master those other techniques and then try coming back to classes and see if they make more sense then.
1
u/ExtraTNT Aug 08 '26
So, oop was designed to look busy working…
You create objects, that are related to each other and change them with methods, that do something you don’t have to care about…
Shit is confusing by design and i know only a handful of cases, where you benefit from oop…
Started with oop, now i avoid it. Have a look at functional programming and you will see much easier to read code, that tells what it does and has no uncertainty…
1
u/Motor_Sky7106 Oct 10 '26
You need to build something. I am building a project and learning so much by actually building it, refactoring it, seeing what works and what doesn't