Comment on I dunno
SmartmanApps@programming.dev 6 days agoso 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.
jjjalljs@ttrpg.network 6 days ago
More people evaluate
2+3x4incorrectly than2+(3x4). So, no, your answer does not hold up to my observed reality. You can throw as many “well technically” and “well actually” as you want, but that’s not going to fix the bug or make a pr.SmartmanApps@programming.dev 6 days ago
The people who have forgotten the rules of Maths, and the mnemonics even! 😂
So try observing a real Maths textbook then. Students have no trouble at all with this, only adults who’ve forgotten the rules.
jjjalljs@ttrpg.network 6 days ago
Adults who have forgotten the rules who I work with and read/write code where it’s important. In the real world.
This is like some pure maths vs real life engineering cliché.
You’re either being deliberately obtuse or you’re painfully naive.
SmartmanApps@programming.dev 6 days ago
And as a consequence of that, MathGPT is the only e-calc which gives correct answers to order of operations! 😂
It’s a Correct Maths vs. Programmers who have forgotten the rules cliche
Neither, I’m a Maths teacher