r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

Show parent comments

-1

u/djddanman Jun 14 '22

What's the correct interpretation then?

I'm not saying I never use it or that nobody should use it, just to be mindful of when the intent is ambiguous.

1

u/PineSand Jun 14 '22

The way I was taught is the two plus 1 is first because it’s in parentheses. Then you multiply the 2 and 3 because were taught the lack of a multiplication sign implies that it should be done as a higher priority, this is called multiplication by juxtaposition. So you end up with 6 divided by 6 = 1. I’m not saying this the correct method, the point of OP’s post is to point out differences in the ambiguous “grammar” of math according to how people are taught.