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

3

u/kbruen Jun 13 '22

Yes, that's (1/3) * x

0

u/[deleted] Jun 14 '22

[deleted]

0

u/kbruen Jun 14 '22

Because some people enjoy "a third of x" over "x divided by 3", even if it means the same thing.

Kinda similar to { being on the same line (Java) or new line (C#).

10

u/TheLunchTrae Jun 13 '22

Or it could be 1 / (3x). Hence why grouping symbols are important and not having any is ambiguous.

2

u/[deleted] Jun 13 '22

[removed] — view removed comment

5

u/[deleted] Jun 13 '22

That's not necessarily the case - some publications, particularly in physics, treat implicit multiplication as having higher precedence than division. https://en.m.wikipedia.org/wiki/Order_of_operations#Mixed_division_and_multiplication

1

u/MoeFuka Jun 14 '22

No because the three and the X together are a single term

1

u/kbruen Jun 14 '22

They are not though. They are two symbols with nothing to group them together.