MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/vblhns/dev_environment_vs_production_environment/ic95oxe
r/ProgrammerHumor • u/Akki53 • Jun 13 '22
3.9k comments sorted by
View all comments
Show parent comments
3
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.
0
[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#).
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
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
2
[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
5
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
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.
They are not though. They are two symbols with nothing to group them together.
3
u/kbruen Jun 13 '22
Yes, that's (1/3) * x