4 ms·
> Scala doesn't have operator precedence rules. That's not true. The operator precedence is determined by the first character of the operator: (all letters
by cottonseed 10y ago
> Scala doesn't have operator precedence rules.
That's not true. The operator precedence is determined by the first character of the operator:
(all letters)
|
^
&
< >
= !
:
+ -
* / %
(all other special characters)
Precedence is different than associativity.