[swift-evolution] [Review] SE-0091: Improving operator requirements in protocols

Leonardo Pessoa me at lmpessoa.com
Wed May 18 16:00:25 CDT 2016


> Hello Swift community,
>
> The review of "SE-0091: Improving operator requirements in protocols" begins now and runs through May 23. The proposal is available here:
>
>         https://github.com/apple/swift-evolution/blob/master/proposals/0091-improving-operators-in-protocols.md
>
>         * What is your evaluation of the proposal?

Allow for consistent code when implementing operators. I'd go a bit
further and say any operator functions should be declared like this
but this seems to be the case for another proposal.

>         * Is the problem being addressed significant enough to warrant a change to Swift?

Yes.

>         * Does this proposal fit well with the feel and direction of Swift?

Yes.

>         * If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?

Yes. In C# operator overloading is done exactly like this (but also
only like this).

>         * How much effort did you put into your review? A glance, a quick reading, or an in-depth study?

A quick reading.


More information about the swift-evolution mailing list