[swift-evolution] [Review] SE-0026 Abstract classes and methods

Joe Groff jgroff at apple.com
Thu Mar 3 14:55:25 CST 2016


> On Mar 3, 2016, at 12:42 PM, Evan Maloney <emaloney at gilt.com> wrote:
> 
> There has been a proposal floated (by Dave Abrahams if I recall--and if I'm wrong, sorry!) to change protocols so conformance is NOT inherited by subclasses by default.
> 
> I would just like to point out that if that happens, all of the arguments against abstract classes go out the window, and we absolutely WILL need abstract classes, because all the convoluted gymnastics required to get protocols to kinda-sorta (but not really) provide some of what abstract classes provide won't be possible.
> 
> Long live the class hierarchy!

That was me. I only proposed it as an *option* for the conformer, though, not as a sweeping change.

-Joe


More information about the swift-evolution mailing list