> On 23 juin 2016, at 09:32, Anton Zhilin via swift-evolution 
> <[email protected]> wrote:
> 
> Ross O'Brien via swift-evolution <swift-evolution@...> writes:
> 
>> The naming suggestion: why not simply 'precedes' and 'succeeds'? This 
> avoids the conjoined words problem. Then you're just writing 
> 'Multiplication { succeeds: Exponentiation, precedes: Addition }'.
> 
> I still believe that `above` and `below` are clearer.

How about `before` and `after`, then?

(altitude is not precedence)

This truly is a precedence relationship, and expressing it using height 
relationships isn’t particularly useful. What we need to express is that when 
there is possible ambiguity between two operators, which one should be used 
first? Obviously, it’s the one that comes “before”, or perhaps the one that 
“precedes” the other.

Cheers,
Guillaume Lessard

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to