PEMDAS is technically correct, but morally wrong

Chainweasel@lemmy.world to Showerthoughts@lemmy.world – -36 points –

If we're supposed to be able to understand math as easily as a language, we should be able to read it from left to right like a language.
Yes, I know there's lots other languages that go right to left or top to bottom, but the point is you don't have to go jumping around the page or sentence figuring out which word should be read first based on which characters it contains.
We put the first word first, then the second word second, etc.
Why can't we just write equations in the order they were meant to be solved?

27

You are viewing a single comment

Reverse Polish Notation works almost like you describe. You put the operands first, then the operation. For example:

  • 3 + 4 --> 3 4 +
  • 3 • (5 + 2) --> 5 2 + 3 •

Probably the reason why we are not using it is because most tools today use algebraic notation, and it would be a lot of effort to switch

Best system for calculators IMO. Especially if you need to add many numbers together (eg doing price calculations)—just enter all the numbers to the register, double-check for errors, then add together. Way less error prone than traditional calculators.

It's just less readable for humans, great for programs though

I have no doubt that your link goes to urban dictionary.

1 more...