DEV Community

Discussion on: Mixins for Fun and Profit

Collapse
 
easyaspython profile image
Dane Hillard

Well said. Mixins are a sort of design pattern, and as with other design patterns should be used where the problem is a great fit. The logging example is potentially a poor use case in the real world, but we have at least one use case like the network protected view that is still serving us well. If, down the line, the requirements of that use case change we might notice some pains too. It's an evolving judgment call!