Viewing a single comment thread. View all comments

00PT t1_iyb6jhc wrote

Did this convention come about before or after the usage of parenthesis in mathematical notation? It seems like they cover the ambiguity problem pretty well.

1

x1uo3yd t1_iybj9mt wrote

Parentheses do fix ambiguity problems beautifully. But they can also be a total pain if you have to write out a whole mess of them again and again and again.

The reason we have the multiply-then-add rule (rather than the other way around) is because "Add up a list of values-multiplied-by-quantity" is a super common kind of scenario - and this convention lets us shortcut away lots of parentheses from these often-encountered problems.

For example, imagine adding up the value of one penny, two nickels, four dimes, and three quarters... Writing out "(1×1) + (2×5) + (4×10) + (3×25)" is amazingly unambiguous and perfectly legible... but simply writing out "1×1 + 2×5 + 4×10 + 3×25" (and maybe leaving some whitespace for extra clarity) saves the work of two parentheses per list-item. Maybe that isn't a big deal when writing out a single list of only four coin denominations... but if you have to do hundreds of similar such problems then those extra strokes will definitely add up.

13

JimAsia t1_iybm38j wrote

Writing them is slightly tedious but typing them is a royal pain. Capital case, lower case, capital case, lower case ad nauseum.

4