[swift-evolution] [Proposal] Make optional protocol methods first class citizens

Andrey Tarantsov andrey at tarantsov.com
Sun Apr 3 12:40:54 CDT 2016


> Protocol requirements with default (no-op) implementations already satisfy that design goal, no?

Chris, as we've discussed in a thread that I think got forked from this one:

Yes, they do technically, but it would be nice to both:

1) make it an obvious documented part of the signature, possibly including the default return value

2) possibly make it less verbose by getting rid of the explicitly spelled out protocol extension

A.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160403/7831fe27/attachment.html>


More information about the swift-evolution mailing list