422
submitted 1 year ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] CheesyFox@lemmy.world 1 points 1 year ago

a fair point, but aren't division and subtraction are non-communicative, hence both operands need to be evaluated first?

[-] EffortlessEffluvium@lemm.ee 3 points 1 year ago

It’s commutative, not communicative, btw

[-] CheesyFox@lemmy.world 3 points 1 year ago

whoops, my bad

[-] Pipoca@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

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.

[-] CheesyFox@lemmy.world 1 points 1 year ago

ok, i guess you're right

this post was submitted on 03 Dec 2023
422 points (100.0% liked)

196

16713 readers
2283 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS