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

Taylor Swift kelvin13ma at gmail.com
Wed Aug 2 12:38:55 CDT 2017


i would have written it like this <
https://gist.github.com/kelvin13/ba42b620f80ee94fbb0d0841056aac97>

On Wed, Aug 2, 2017 at 12:34 PM, Gor Gyolchanyan <
gor.f.gyolchanyan at icloud.com> wrote:

>
> 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
>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170802/1481efd7/attachment.html>


More information about the swift-evolution mailing list