Toes♀@ani.social to 196@lemmy.blahaj.zone · 9 months agoGlitch in the matrixani.socialimagemessage-square575fedilinkarrow-up1418arrow-down10
arrow-up1418arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 9 months agomessage-square575fedilink
minus-squareCheesyFox@lemmy.worldlinkfedilinkarrow-up1·9 months agoa fair point, but aren’t division and subtraction are non-communicative, hence both operands need to be evaluated first?
minus-squareEffortlessEffluvium@lemm.eelinkfedilinkarrow-up3·9 months agoIt’s commutative, not communicative, btw
minus-squarePipoca@lemmy.worldlinkfedilinkarrow-up2·edit-29 months ago1 - 3 + 1 is interpreted as (1 - 3) + 1 = -1 Yes, they’re non commutative, and you need to evaluate anything in parens first, but that’s basically a red herring here.
a fair point, but aren’t division and subtraction are non-communicative, hence both operands need to be evaluated first?
It’s commutative, not communicative, btw
whoops, my bad
1 - 3 + 1 is interpreted as (1 - 3) + 1 = -1
Yes, they’re non commutative, and you need to evaluate anything in parens first, but that’s basically a red herring here.
ok, i guess you’re right