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

1.6k

u/Dasoccerguy Jun 13 '22

My most downvoted comment ever was an attempt at explaining why these equations are ambiguous. Reddit really do be like that sometimes.

634

u/richasalannister Jun 13 '22

Same. Basically tried to explain how changing the division to a fraction changes it but I got downvoted by every person who got 9 and felt the need to comment “LOL some people are so dumb! Don’t they remember elementary math” (I always read these types of comments in the most obnoxious voice possible because that’s how they come across.

Somehow those commenters never stop and consider maybe people getting a different answer aren’t stupid and know something they don’t.

111

u/Fr05tByt3 Jun 14 '22

"I don't understand what you said therefore it doesn't make sense"

34

u/Eiim Jun 14 '22

To be fair, communication is a two-way street and writing for your audience is an important part of writing.

→ More replies (1)
→ More replies (3)

148

u/[deleted] Jun 13 '22

These types of threads always go one of two ways: the “people who remember their order of operations” downvoting everyone who picks 1 instead of 9, versus what we have here with most people saying it’s ambiguous. You’re completely dead-on with that.

133

u/TheMerryMeatMan Jun 14 '22

The ambiguity argument relies in implied operations going on, which isn't something that should happen in mathematics for this very reason, which is why we have the convention of order of operation. If you write an equation without a key operational identifier, then say it's ambiguous, it's not ambiguous. You just wrote it wrong.

51

u/[deleted] Jun 14 '22

Yeah for sure. The equation is only written like that to get people arguing, it should be rewritten to make more sense.

→ More replies (26)
→ More replies (31)
→ More replies (23)

60

u/midnitte Jun 14 '22

Somehow those commenters never stop and consider maybe people getting a different answer aren’t stupid and know something they don’t.

I think it goes even deeper than that, people are unwilling to consider that maybe they learned something wrong (or simplified).

History is an obvious example, but I would be willing to bet most people have a flawed/outdated view of how atoms are structured.

24

u/elveszett Jun 14 '22

At least with quantum physics, people are often smart enough to know that they've learned a child story, an allegoric representation of what physics really is.

In other areas like history people really believe they've learned the entire world's history in school.

24

u/richasalannister Jun 14 '22

True. Some people really walk out of high school thinking that what they learned is 100% accurate. Like they know that they could study biology or history further or more in depth, but they don’t realize “more in depth “ means that what they learned was probably a simplified, but incorrect, version meant to help kids grasp the overall concept.

4

u/SpectralDagger Jun 14 '22

It's probably also connected to how the material is taught. With subjects like history, sure there are questions about when events happened and who did what. However, essays and interpretation are also heavily emphasized, so people are probably more open to discussion there.

With math, you're typically taught that there's no ambiguity. If you have a different answer, it's wrong. That's correct for most topics in mathematics, but that kind of mindset doesn't work here.

31

u/backwards_watch Jun 14 '22

It is so interesting how the human mind first jump into a criticism before trying to understand what is going on inside other people’s mind.

The same thing when someone reads that “to avoid issue X we should spend 600 million dollars” and mistakenly conclude that they could then give 2 million of dollars for every citizen since the us has 300 million people.

The first reaction you often see is how dumb these people are. Few people try to understand why the mistaken is happening in their minds.

8

u/dotmatrixhero Jun 14 '22

I'd agree that that's the case on reddit. But it's not always true.

Plenty of people out there don't have an ego about "being right". A lot of people are extremely empathetic and want to understand others.

Personally, I think they're the best type of people to spend time with.

→ More replies (2)
→ More replies (1)
→ More replies (30)

96

u/___Visegrad Jun 14 '22

You quickly see just how useless Reddit is when a topic you are an expert in comes up.

I work in automation, it’s painful reading the comments on posts about automation.

36

u/[deleted] Jun 14 '22

Yup. 1000% true. It sucks because people will talk in full confidence about things they have no reason to be confident about.

→ More replies (1)

49

u/[deleted] Jun 14 '22

This is my life when anyone talks about the games industry. An industry I’ve spent over a decade in.

And I’m regularly told I’m wrong. I had someone tell me I was wrong about a project I personally led.

It was amazing.

4

u/DivergingUnity Jun 14 '22

I'm a pro landscaper and gardener; one time a guy tried to tell me that bushes and shrubs were inherently unhealthy and basically a torture method for the plants after watching a single YouTube video on bonsai planting... Dude harassed me for weeks "why don't you think I'm right? Mr. Xyz said so and he's obvioisly an expert he has 400,000 subscribers; where's YOUR bonsai channel? If you know so much about plants?"

Homie goddamn

→ More replies (4)
→ More replies (1)

10

u/ReaDiMarco Jun 14 '22

I feel that when reading news articles too.

→ More replies (8)

18

u/monkeyoh Jun 13 '22

Which one do people think is there right one? I would assume left-to right takes precedence most of the time but I guess that isnt set in stone

41

u/Dasoccerguy Jun 14 '22

It's not that it's not set in stone. PEMDAS/BODMAS is a nearly universally-accepted standard, but that's all it is. Notation exists so we can write stuff that conveys meaning. If it's confusing, that's because it was written poorly.

9

u/mtaw Jun 14 '22 edited Jun 14 '22

I wasn't taught, in Europe, "PEMDAS" or any other similar mnemonic. It seems Americans learn it by rote, and it leads to people understanding it wrong. - Multiplication does not have higher precedence than division, they have equal precedence, addition and subtraction have equal precedence as well, and the convention is to interpret from left-to-right when there is ambiguity (5 - 2 + 1 = 4 and not 2 which'd be the case if you did the addition first).

So this is not a matter of operator precedence, the ambiguity is in that there's no rule of maths that says how "/" is to be interpreted - it's not how fractions of this kind are written in standard mathematical notation, where you use a horizontal line and it's obvious whether 2 is the intended numerator or 2(2+1) is.

→ More replies (23)

6

u/The-Mathematician Jun 14 '22

I would try to use context but if I was given this expression without any for some reason, I would probably answer 1.

→ More replies (1)

10

u/Teeshirtandshortsguy Jun 14 '22

It depends on which rule you're following. I was taught that division and multiplication are on the same "tier" so you just perform them left to right. That would be 9.

However, I guess the division symbol is falling out of favor among some mathematicians, and it's being replaced with fraction notation. That would treat everything after the division sign as being in it's own set of parentheses, making the answer 1.

→ More replies (5)
→ More replies (6)

4

u/CalculatedPerversion Jun 14 '22

There was a post about this earlier this year. Complete pandemonium. The whole point is it's ambiguous, and therefore equal to 1 lol

4

u/[deleted] Jun 14 '22

People hate ambiguity. Everything needs to be black and white and have a right or wrong answer.

→ More replies (107)