[swift-evolution] [Proposal draff] abstract classes and methods

Brent Royal-Gordon brent at architechies.com
Mon Jan 11 03:42:01 CST 2016


> Not if you can’t figure out how to write the protocol such that it doesn’t refer to Self, have typealiases, or do something else that means you can only use it as a generic constraint rather than an actual type.

As abstract classes also cannot use Self the way protocols can or have associated types, I'm not certain what an abstract class could express that an existential protocol couldn't.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list