Comment on I dunno

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

so it would be clearer

That’s because it’s already clear as is, as per the rules of Maths.

I think someone told me that order of operations is like a natural law

It’s a natural consequence of the definitions of the operators. e.g. Multiplication is shorthand for repeated Addition - 2x3=2+2+2 - so if you don’t do it before addition you end up with wrong answers. The order of operations rules is in fact just breaking everything down into Addition and Subtraction and then solving from there.

not a convention

There are some conventions, like left to right, but in that case that’s only because students tend to make mistakes with signs when they don’t go from left to right.

source
Sort:hotnewtop