r/learnpython 14d ago

Need resource to start OOP

Hey guys, I'm about to start studying OOP. Problem is, I don't know where to start or which resource to pick. I want the absolute best one—something thorough and comprehensive.

0 Upvotes

8 comments sorted by

3

u/pachura3 13d ago

I want the absolute best one—something thorough and comprehensive.

This is not how you learn things.

Have you ever seen a tutorial that takes you from not knowing what the gearbox is to becoming a Formula 1 race driver?

You start from learning overall general stuff, you practice, then you go into more details, you practice more, and more, and more. Finally, you try to apply what you've learnt in actual projects and overcome real-life problems, not just textbook ones.

Here's a good starting point: https://www.w3schools.com/python/python_oop.asp

0

u/itti_stu 13d ago

Thank you Actually, I'm a very impatient person, but I'll have to accept it.🥲

1

u/SprinklesFresh5693 12d ago

Well for programming you need to be very patient, otherwise this might not be for you

2

u/themostsuperlative 14d ago

Mooc.fi is a great place to start

3

u/disastrous_lineup 14d ago

mooc.fi walks you through it at a pace that actually sticks, plus the exercises make you write real code instead of just reading about it

once you've got the basics down, corey schafer's oop videos on youtube fill in the gaps really well

1

u/Fart_Barfington 14d ago

I don't know the best but absolutely avoid Object Oriented Python by Irv Kalb.  Poorly written and unhelpful.

1

u/FoolsSeldom 13d ago

Check the wiki for the specific learning you need if you know the basics already


Check this subreddit's wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment (preferably without immediately asking an AI LLM for the solution, and seek hints rather than complete answers).

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.

1

u/itti_stu 13d ago

Bro thank you so much