Comment on I dunno
kuberoot@discuss.tchncs.de 3 days agoIf you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.
Right, because 1-2-3=3-2-1.
Comment on I dunno
kuberoot@discuss.tchncs.de 3 days agoIf you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.
Right, because 1-2-3=3-2-1.
howrar@lemmy.ca 2 days ago
You flipped the sign on the 3 and 1.
kuberoot@discuss.tchncs.de 2 days ago
I did not flip any signs, merely reversed the order in which the operations are written out. If you read the right side from right to left, it has the same meaning as the left side from left to right.
Hell, the convention that the sign is on the left is also just a convention, as is the idea that the smallest digit is on the right (which should be a familiar issue to programmers, if you look up big endian vs little endian)