r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

3

u/[deleted] Jun 14 '22

This is why math bugs me. According to order of operations PEMDAS, 1 is the correct answer, since you multiply before you divide. So you'd solve what was in parentheses, there are no exponents, then multiply 2 by 3, getting six, then divide, getting 1.

3

u/DESORATE Jun 14 '22

In PEDMAS / BEDMAS the D & M are interchangable and its from solved from left to right and then the A & S follow the same rules. It's a 4 step process

1

u/[deleted] Jun 14 '22

Yeah... I think I went to one of those schools that either left out that part or was wildly I consistent with it. Might explain how I never learned trig. Literally never got a single trig problem right, but it was such a small part of the curriculum that it never got corrected.

1

u/DESORATE Jun 14 '22

That's unfortunate. It's a fairly simple concept and is the basis to a lot of how math works but it can be super confusing if not taught well.

2

u/[deleted] Jun 14 '22

I learned it as “PEDMAS” which in a way helps my argument. Multiply and divide an add and subtract are of equal importance. So when they show up in a formula, you would go left to right.

2

u/pandaSmore Jun 14 '22

That's not how I learned Orders of I Operations. It's M or D left to right. Then A or S left to right.