[swift-evolution] [Draft] Mixins

Антон Жилин antonyzhilin at gmail.com
Sat Feb 27 03:59:00 CST 2016


Some people opposed to Abstract Classes proposal (including myself) have
said that mixins could solve the problem better.
So I prepaired a proposal draft to add stored properties to protocols. Here
it is:
https://gist.github.com/Anton3/f0550922c1be0fc5447c

P.S. I added a `mixin` keyword in the beginning, but we can opt to just
extend protocols, which I mention in "alternatives".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160227/f1f37f5b/attachment.html>


More information about the swift-evolution mailing list