Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python

Is anybody else having difficulty with OOP in python?

I have been struggling with OOP in Python for a little while now I don't know why but, its just so damn confusing. the classes for the most part I understand but how to use certain dunders, if self should be used here or not, and among other things. Its getting kind of overwhelming to the point that I am getting frustrated.

nakalkucing
nakalkucing
12,964 Points

Hi Edward Polanco Murillo! I'm a ways past OOP now but, yes, I did have great difficulty understanding it. Even now I have issues with some of the concepts I learned then. I know this is just my approach, and it might not work for you. But, basically I took it easy, rewatched a video whenever I felt that I didn't have a grip on any given point, and took extensive notes. I still struggle with some of the concepts but, at least I still have my notes to fall back on. Don't get down, buddy. Confusion is bound to come with any topic you learn. Whenever you need help, the community is here to fall back on.

Hope this helps! And best of luck, :)

Nakal

3 Answers

@nakalkucing I get that. Just curious how do you typically take notes because I notes as well. What I typically do is take down the code that the teacher did in the video + writing down certain concepts that the teacher introduces.

Jay zhang
seal-mask
.a{fill-rule:evenodd;}techdegree
Jay zhang
Full Stack JavaScript Techdegree Student 4,046 Points

From my experience, it's hard to even take notes, what i do is i keep on repeating myself, finding more resources on google and further enhance my understanding. I think what is really needed to be understood are 3 key components, where, clear understand of instances, attributes, methods, and just go back and do the practice couple times a day just to make sure you nailed it

@Jay Zhang just curious aside from teamtreehouse what other resources do you (or anyone else for that matter) use to get a good grasp of OOP python

Jay zhang
seal-mask
.a{fill-rule:evenodd;}techdegree
Jay zhang
Full Stack JavaScript Techdegree Student 4,046 Points

i've couple books to read(learning python, and python from crashcourse) and theres tons of other good materials on youtube.

yeah for me personally books dont really work for me unfortunately. I am more of a visual learner (i.e videos)