Toes♀@ani.social to 196@lemmy.blahaj.zone · 10 months agoGlitch in the matrixani.socialimagemessage-square360fedilinkarrow-up1413arrow-down10
arrow-up1413arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 10 months agomessage-square360fedilink
minus-squareCheesyFox@lemmy.worldlinkfedilinkarrow-up1·10 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·10 months agoIt’s commutative, not communicative, btw
minus-squarePipoca@lemmy.worldlinkfedilinkarrow-up2·edit-210 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