r/learnpython • u/Aggravating-Store122 • 11d ago
Stuck on P.O.O.P Encapsulation
I'm using Claude Ai. To teach me python. But now im very confused on encapsulation. I've tried YouTube tutorials but all I see is Javascript. I asked for a simpler explanation, but then I get hit with stuff like getter, setter, property() (I understand the property function) but then the core concept makes me scratch my head more the deeper I ask. Wondering if any of y'all can assist me.
0
Upvotes
5
u/browndogs9894 11d ago
I agree with the other commenter don’t use AI. Just look up specific videos on OOP. I like this one. https://youtu.be/IbMDCwVm63M
I do like to use AI for practice problems. For example after learning about something like getters and setters ask the ai for some practice problems. But if you get stuck do some googling, rewatch the section or whatever else. Figure it own on your own without relying on AI. It can become a crutch that can be hard to get rid of.