Open dz0 opened 2 years ago
Hi, our CTO prefers "composition over inheritance" and tries to avoid composition where possible.
How complicated could it be to use class decorators instead of Mixin?
idea explained here -- but maybe you know gotchas than can be for your project? https://effectivepython.com/2019/12/18/prefer-class-decorators-over-metaclasses
Hi, our CTO prefers "composition over inheritance" and tries to avoid composition where possible.
How complicated could it be to use class decorators instead of Mixin?
idea explained here -- but maybe you know gotchas than can be for your project? https://effectivepython.com/2019/12/18/prefer-class-decorators-over-metaclasses