Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Gabriel Moreno
Gabriel Moreno
3,579 Points

Object Oriented Programming - Hard concept grasp??

I've taken both a Python and Swift course and it seems that as soon as the course gets to object oriented python I begin to struggle along. I understand inheritance and some of the concepts but still struggle with this. Is this uncommon or have others had similar experiences.

TIA,

Gabriel

1 Answer

Dane Parchment
MOD
Dane Parchment
Treehouse Moderator 11,077 Points

It is not uncommon for people to have problems with OOP (Object Oriented Programming), as it requires a different way of thinking about code (as classes instead of a list of functions). So do not worry yourself, this is normal, in college (I am in computer science by the way) students tend to spend 4-5 years learning this stuff, and still struggle with it (though I do believe that OOP is easier than functional programming -- basically all recursion).

So just keep hacking at it, learn each concept slowly, and program examples of each, and then play around with it to learn more about how it works!