> On 31 mars 2016, at 22:01, Chris Lattner via swift-evolution 
> <[email protected]> wrote:
> 
> Protocol requirements with default (no-op) implementations already satisfy 
> that design goal, no?

They do, but that is not clear for everyone. And after protocol extensions 
appeared with 2.0, it took a little while to make that leap...

Documentation-wise, maybe the current “Optional Protocol Requirements” section 
should be moved from “The Swift Programming Language” to “Using Swift with 
Cocoa and Objective-C”. It would make it clearer that the feature exists for 
Objective-C interop. At the very least, moving that section to after the 
“Protocol Extensions" section would at least present the more important feature 
first.

Cheers,
Guillaume Lessard

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to