Exponentiation operator precedence
Waldemar Horwat
waldemar at google.com
Thu Aug 27 19:35:30 UTC 2015
On 08/27/2015 11:58, Alexander Jones wrote:
> Ethan is making my point far better than I did, and I agree completely about the issue of unary operators visually appearing more tightly bound than binary operators.
>
> At this point it seems fair to at least acknowledge the prospect of significant whitespace.
>
> ```
> -x**2 === -(x ** 2)
> -x ** 2 === (-x) ** 2
> ```
Take a look at the Fortress language ☺. But that one benefits from operators and syntax not limited to ASCII.
Waldemar
More information about the es-discuss
mailing list