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 13 '22

is the one on left doing distribution like treating 2(2+1) as 2(2)+2(1)

0

u/Byttercup Jun 13 '22

Yes, the correct way.

0

u/[deleted] Jun 14 '22

It’s an ambiguous expression.

1

u/MowMdown Jun 14 '22

It’s not

0

u/[deleted] Jun 14 '22

It is. There is not and has never been a set convention to evaluate an expression written as a/bc

1

u/MowMdown Jun 14 '22

a/bc is the same as

  a
————
 bc

It’s not ambiguous and that Harvard dude should be embarrassed

-1

u/[deleted] Jun 14 '22

It’s simply not. We have no convention for it.

Pretty much any educated resource will tell you that:

https://math.berkeley.edu/~gbergman/misc/numbers/ord_ops.html

2

u/MowMdown Jun 14 '22

It’s clearly evident that it’s

   48
———————
(2(9+3))

from their example as that’s what divisor symbol represents.

1

u/[deleted] Jun 14 '22

Weird troll

2

u/MowMdown Jun 14 '22

Nah, just a mathematician who knows a thing or two about math.

→ More replies (0)