[swift-evolution] [Draft] Mixins

Matt Whiteside mwhiteside.dev at gmail.com
Sun Feb 28 12:58:27 CST 2016

> On Feb 28, 2016, at 09:02, Trent Nadeau via swift-evolution <swift-evolution at swift.org> wrote:
> In the proposal, I would recommend stressing how this both subsumes abstract classes and allows similar functionality on value types.

On the subject of ‘subsuming’…  it seems with this proposal we now have three approaches to solving the problem of code reuse/specialization: OOP, POP, and Mixin Oriented Programming (MOP).  The decision about which approach to use makes the learning curve steeper.  Perhaps there is some way to generalize or unify the three approaches, and flatten the learning curve?

In any case, I’m hesitant to add new directions to the language until the current ones have been given the benefit of some more time.


More information about the swift-evolution mailing list