I dunno (piefed.cdn.blahaj.zone)
 
you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago

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.

  • source
  • parent