It's "tell me not to use ambiguous notation" time!Context: I have to interpret students' ambiguous notation.
I want to interpret `xy` as `x*y`.Should `x/yz` be `(x/y)*z` or `x/(y*z)`?
Yes, it's ambiguous, but of the two options, which would be the least surprising?
Really annoying follow-up:
Is `xy!` equivalent to `(x*y)!` or `x*(y!)` ?
@christianp gut reaction `x*(y!)`
@pkra @christianp I agree. I think unary operations are "supposed" to bind more than binary, or atleast that is what it feels like in practice
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!