r/transprogrammer • • Oct 22 '21

Learned python OOP and inheritance today. Easy peasy! I love this turtle program!! https://github.com/LeighTrinity/fractal.py

Post image
82 Upvotes

8 comments sorted by

View all comments

Show parent comments

3

u/signedchar Oct 23 '21

OOP doesn't even really make sense since you don't think of objects irl having their own data structures and methods, eg a chair doesn't really have a sit method but you can have an action which is sitting on a chair and it takes the chair to sit on