[swift-evolution] [Draft] Allow declaration of abstract functions and properties on classes

Evan Maloney emaloney at gilt.com
Mon Feb 29 11:19:15 CST 2016

> On Feb 29, 2016, at 12:14 PM, Gwendal Roué <gwendal.roue at gmail.com> wrote:
> Yet mutating methods declared in a protocol can be implemented by classes, and are not reserved to structs.
> I think that Evan’s reasoning is the following:
> 1. Swift has classes, and supports class inheritance. It’s a plain fact.
> 2. The concept of "abstract class" is tied to classes, and only classes, since it requires inheritance in its very definition.
> 3. Hence the concept of "abstract class" belongs to the class realm, and protocols have nothing do to with it.


Thanks, Gwendal, for presenting my argument more clearly & succinctly than I have. :)

More information about the swift-evolution mailing list