Yeah, I’d make most stuff explicit in programming. You’re rarely gonna do more than two arithmetic operations at a time anyways so you often get it for free. The most common one for me is % which I expect to bind weakly. I guess it binds tightly because it follows division, but I read “a + 1 % n” out loud with a “modulo” and when you say that in a mathematical context the modulo would apply to the entire expression to the left.
Yeah, I’d make most stuff explicit in programming. You’re rarely gonna do more than two arithmetic operations at a time anyways so you often get it for free. The most common one for me is % which I expect to bind weakly. I guess it binds tightly because it follows division, but I read “a + 1 % n” out loud with a “modulo” and when you say that in a mathematical context the modulo would apply to the entire expression to the left.