Comment on I dunno

<- View Parent
SmartmanApps@programming.dev ⁨4⁩ ⁨days⁩ ago

The rules are socially agreed upon

Nope! Universal laws.

They are not a mathematical truth.

Yes they are! 😂

There is nothing about the order of multiple different operators in the definition of the operators themselves

That’s exactly where it is. 2x3 is defined as 2+2+2, therefore if you don’t do Multiplication before Addition you get wrong answers

Image

you can order those however you like.

No you can’t! 😂 2+3x4=5x4=20, Oops! WRONG ANSWER 😂

All that matters is just what calculation it is that you’re after

And if you want the right answer then you have to obey the order of operations rules

source
Sort:hotnewtop