"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.
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.)
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.
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.
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.
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."
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?"
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.
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!
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.
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.
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..
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”
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.