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 trialygh5254e69hy5h545uj56592yh5j94595682hy95
7,934 Points[HELP] Object-Oriented Python
Need help with Object-Oriented Python. Just finished the course, but still do not understand it at all. I feel like I'm writing code that I can't even see. In the course we used a lot of 'self', '@classmethods', 'cls', 'super().init' , etc.. and It's just hard for me to make sense of what I'm writing because it feels like I'm writing code that just repeats itself but at the same time I know that's not the case.
Do you guys have any recommendation on what kind of resources(websites, videos, etc) I need to go through so that I have a better understanding of OOP?
Thanks!
1 Answer
James Procter
14,967 PointsI felt the same immediately after, I found it was a lot of info to take in and like you wasn't really sure what each bit was for.
What I did was build something outside of Treehouse in Python. I downloaded Pycharm (python code editor) and built a program utilisng classes, class properties, class methods etc. I kept referring back to the videos and then it all started to make sense.
Maybe worth trying that too.
ygh5254e69hy5h545uj56592yh5j94595682hy95
7,934 Pointsygh5254e69hy5h545uj56592yh5j94595682hy95
7,934 PointsThanks, will try it!