[swift-evolution] [Discussion] Breaking precedence
mayoff at dqd.com
Mon Aug 1 22:48:21 CDT 2016
>> 1 | 2 ^ 3 // or this?
> No. Both of those are bitwise operations. They are often used together. They
> have a refined relative precedence in Swift that makes sense.
I have no idea what the relative precedence of those operators is in
Swift, C, or any other language, and thinking about it now, no
relative precedence seems sensible or obvious to me. Those operators
(and bitwise-&) are excellent examples of operators that should
More information about the swift-evolution