[swift-evolution] [Review] SE-0077: Improved operator declarations
me at lmpessoa.com
Wed May 18 15:46:03 CDT 2016
> Hello Swift community,
> The review of "SE-0077: Improved operator declarations" begins now and runs through May 23. The proposal is available here:
> * What is your evaluation of the proposal?
I didn't follow much of the thread for this but from the description
of the proposal I can see how it adds clarity and understanding to
code. I really cannot tell the precedence of an operator I declared in
certain expressions because those precedence number don't make much
sense. The idea of describing the precedence of the operator compared
to other groups of operators seems to add a lot more of understanding
to my code. Just forgive me if I didn't see this but I expect that I
cannot declare an operator belonging to more than one group or compare
to more than one group for precedence (thou I see some situations
being able to asset precedence against more than one group could be
> * Is the problem being addressed significant enough to warrant a change to Swift?
> * Does this proposal fit well with the feel and direction of Swift?
> * If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
C# allowed for operator overloading but not declaring new operators
thus all precedence was already defined by the language.
> * 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