this post was submitted on 03 Dec 2023
416 points (100.0% liked)
196
16458 readers
1 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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