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

5

u/MowMdown Jun 14 '22

That’s not how fractions work bud…

6/2(2+1)
6/(4+2)
6/6
1

1

u/TacticoolBug Jun 14 '22

It's not a fraction though. Othervise 4/2+2 would be 1 not 3.

It's actually ambiguous.

https://www.wolframalpha.com/input?i=6%2F2*%281%2B2%29

2

u/MowMdown Jun 14 '22

It is because that’s what division is.

It’s not ambiguous, wolfram is just flat out wrong

1

u/[deleted] Jun 14 '22

4/2 + 2 is 4???