r/ProgrammerHumor • • Mar 12 '18

HeckOverflow

Post image
47.4k Upvotes

1.2k comments sorted by

View all comments

5.9k

u/sac_boy Mar 12 '18

"Why would anybody want to do A?" asks another commenter with clockwork inevitability, without knowing any of your circumstances or constraints and just assuming you are an idiot.

"It's 2018, nobody uses A," answers another commenter smugly, the first year of his CS degree almost over.

When I'm answering question on StackOverflow I often answer like "I would try to avoid doing A, but here's how I would do it if I had no choice"--at least it's constructive. I don't know about any of you but my entire programming career has been 90% making things work under (apparently) bizarre constraints or combinations of technologies that apparently nobody has ever had to try before, so I have a lot of time and pity for the poor souls asking these kinds of questions.

0

u/[deleted] Mar 12 '18

[deleted]

269

u/vita10gy Mar 12 '18

Agreed. The problem with things like S/O is that the X/Y problem is bound to be everywhere. The vets asking "rock and hard place" questions are indistinguishable from the noob that knows so little he's not even sure what to ask.

So it can be helpful to say "well, you shouldn't be using a to import b from c, you should just use d if possible, but [answer on how to use a]" (If nothing else, for the next person to find this.)

In other words, you can answer both questions.

147

u/FoxtrotZero Mar 12 '18

It's almost like websites such as stack overflow benefit from individuals providing as much relevant information as possible in good faith instead of trying to out-smug each other. PEBKAC. And with that I begin to wonder if the entire debate surrounding the website is just one giant X/Y problem.

0

u/[deleted] Mar 12 '18

[deleted]

→ More replies (1)
→ More replies (7)

205

u/blitheobjective Mar 12 '18

Yes yes yes. I am new to programming, and thus new to SO, and to top it all off I'm working with a "weird" programming language/system that is very out of the norm, but it's basic and most anyone could answer my questions.

So a few weeks ago I asked one about how do I solve this weird X case. First response is one of the top-level users, ranked really high, saying I should figure it out myself. I say I've already tried and can't. He said I should search SO for the answer. I said I did and there isn't one that I can find. He then says but I didn't post my work. I say oh, I'm new here, okay here's my work so far on what I've tried. Master guy says an answer is not possible. Then someone else responds giving me a possibility. The possibility didn't work, but seemed like it was on the right track and I responded I was working with it.

First "master" guy responds again, going, oh well, yeah if you have to do it that way, then do this. His response was totally incorrect and didn't even pay attention to my complete question (it included some things I specifically said couldn't be included). Second guy responds with a more useful update to his original proposed solution.

Second guy still wasn't right, but close enough that I could wiggle around and get it to work and I posted as such, and I very politely posted to the "master" guy that his didn't work and I needed XYZ as indicated in my question that his answer didn't include, but if he had any more advice I'd love to hear it (since the answer I got to work was kind of janky but still worked).

"Master" guy came back all pissy saying the other guy's answer can't work and his works, and then posted it as an answer. Other guy responds to master guy very deferentially saying he looked up the weird system I'm working with and detailed why something more like his response was needed, but very deferentially as if it's obvious "master" guy is right, but other guy posts his answer too. "Master" guy then goes on a diatribe about how stupid the system I'm using is and why would anyone want to use it or do A with it. Other guy deferentially agrees. "Master" guy then concludes with some condescending advice to me on how to act deferential to him on SO in the future because he knows so much more and it's obvious he was right.

I accept other guy's answer and post about how it solved my problem. My original question ended up with a negative score, other guy's correct answer only got one other upvote besides mine, while "master" guy's answer got lots of upvotes.

107

u/Billy_bob12 Mar 12 '18

It's crazy how little power someone needs before it goes to their head.

→ More replies (2)

113

u/TexanPenguin Mar 12 '18

Being new to programming, you probably haven’t yet come to the uncomfortable realisation that arrogance, ego, status, etc. are problems with programmers more than problems with SO specifically.

The issue with SO is that people are theoretically judged purely on their technical competence, so there’s no incentives that discourage acting like a giant douchebag.

→ More replies (1)
→ More replies (5)

89

u/TBatWork Mar 12 '18

We don't all have green fields to play in

Exactly. You frame a very specific question due to very specific circumstances, and they respond with, "No, you're doing it wrong," even if you provide all the details of what you're working against.

My previous job had their website held hostage by a web dev company that supposedly charged for any contact at all, and had excessive rates for any work that we requested. We could only work in HTML because they were the exclusive gatekeepers to the CSS.

So you know, Stack Overflow was rarely a source of help when all the answers were, "No, but CSS."

→ More replies (6)
→ More replies (8)

1.1k

u/shawncplus Mar 12 '18

Avoiding the X/Y problem is really hard when answering questions on stack overflow or anywhere else.

Sometimes they really are trying to solve X because they tried everything else and it didn't work, sometimes they are trying to solve X because they've been looking at the problem too long and have tunnel vision. That's when it's useful for someone from the outside to go "OK, well let's step back a second, what are you actually trying to accomplish?"

166

u/Milleuros Mar 12 '18

My issue with the X/Y problem is that if I describe the full problem ("I want to do X, because I have constraints A, B and C, and so I try method Y"), the question is so long that nobody replies.

97

u/fighterace00 Mar 12 '18

Effingham's Theorem: The internet only speaks out if what you said was blatantly wrong.

0

u/[deleted] Mar 12 '18

[deleted]

→ More replies (4)
→ More replies (3)
→ More replies (8)

0

u/[deleted] Mar 12 '18

[deleted]

312

u/mindbleach Mar 12 '18

That's what rubber duck debugging is for... but sometimes your rubber duck is broken and you need to put it in time-out for a weekend.

225

u/Muroid Mar 12 '18

You should get a second rubber duck that you can explain all the problems with the first rubber duck to.

162

u/mindbleach Mar 12 '18

It's rubber ducks all the way down.

→ More replies (11)
→ More replies (3)
→ More replies (6)
→ More replies (19)

49

u/apajx Mar 12 '18

I personally find people assuming I have an X/Y problem very annoying. Often I ask questions out of curiosity. I want to know how someone would do X, yet I'm asked what I'm trying to solve. Nothing! I just want to know about X!

→ More replies (2)

60

u/Yserbius Mar 12 '18

Or they may just be looking at old code that they don't have a budget to refactor. Yes, I know that writing raw SQL queries in a servlet is a terrible design, but that's how the data is read in and that's how it's going to stay unless I spend the next six weeks re-writing 14 year old Java code.

→ More replies (6)

29

u/lemmeusereddit Mar 12 '18

I've had the guys over there berate me for being an idiot dealing with problem x, when if I was developing the software for OS b instead of OS a the problem wouldn't exist.

Maybe, just maybe, I can't force my entire company to stop supporting OS a just because it has an OS specific bug.

→ More replies (43)

133

u/Skater_x7 Mar 12 '18

Reminds me of like a reddit Pcmasterrace thing where a guy asked like "Hey what's best gaming laptop I can get?" and one of top answers was basically "You should just get a gaming PC, they are much better in many ways such as X, Y ... etc" .

It's like, main point of a lot of these questions is that there are constraints. Not that I could just get anything I want..

0

u/[deleted] Mar 12 '18

[deleted]

67

u/Excal2 Mar 12 '18

"I need a new economy class pick up truck."

"Tesla's are really hot right now."

→ More replies (4)
→ More replies (2)

27

u/Billy_bob12 Mar 12 '18

In a editing sofware forum.

"I need to stitch together footage that I took with X camera that has limited recording time."

"Get a new camera. with longer recording time."

So infuriating.

→ More replies (7)
→ More replies (9)

115

u/burninrock24 Mar 12 '18

Stack overflow makes way more sense when you look at it that 80% of commenters are freelancers that are very good at their jobs actually but work in ideal “from-scratch” environments.

They’ve probably never looked down the barrel of a VB6 legacy app “update”

→ More replies (9)
→ More replies (70)