[swift-evolution] [Proposal] Explicit Non-Default-Implemented Protocol Requirements

Gor Gyolchanyan gor.f.gyolchanyan at icloud.com
Wed Aug 2 11:34:54 CDT 2017


> On Aug 2, 2017, at 7:31 PM, Tino Heth <2th at gmx.de> wrote:
> 
> 
>> Consider these two alternative ways of writing the same code:
>> https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa <https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa>
> Great example — the first is better.
> But not because of extensions: 
> // MARK: - String Compatibility

You missed the entire point.
Here, I fixed it for you: https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa <https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170802/9c1af6b8/attachment.html>


More information about the swift-evolution mailing list