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

Evan Maloney emaloney at gilt.com
Thu Mar 3 14:42:44 CST 2016


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!


More information about the swift-evolution mailing list