by arcosdev · 6y ago · 0 comments
My notion of composition with classes would be:
class Dog(object):
def __init__():
self.wagger = Wagger(); #composing the Wagger class
in python mixins look like this: class Dog(object, WaggerMixin):
...etc...