Live data from Hacker News

The XY Problem (2014)

xyproblem.info

11–20 of 111 posts

Re: The XY Problem (2014)

#12
post #9
post #2

The worst XY problem is knowing you want to do Y, even if its strange or whatever, asking how to do it, and people asking you "why do Y? Do X instead". Happens all the time in Stack Overflow. Just answer the fucking question, and then give the lecture on why you think it should be done that way, or why it shouldn't be done at all...

You have to consider that SO exists not only to answer your specific problem, but also to help other users who might face a similar problem. In that context, it might be helpful to mention, if you are the asking person, include the details why you cannot do X, if you know you can't; or, if your question doesn't include details about your specific circumstance, answers that mention that common solution is to do X inst…

No.

User asks I want to do Y.

The responding party should in my opinion:

- Provide a solution to Y first. This is OP's point.

- Then as a corollary, provide some of their guesswork of what X might be and if it is true, then this is how to solve X without having to do Y.

So, it is still beneficial to n00bs and the uninformed, just puts the direct answer to Y first. That's all OP is asking and I agree with that.

Most of the time, smartass responses go into the guesswork regime by assuming the User wanted to do X. More than often User actually wanted to do Z, it's not always true and it is polluting SO against the spirit of "Direct question ---> Direct answer" because discovery and searching of answers happen through Y, not X. Most people came to SO because of Y, that's how they landed there in the first place.

Re: The XY Problem (2014)

#13
Is there a name for when person A asks B and B thinks A has fallen victim to the XY probem but A really didn't and has indeed an unusual problem at their hands?

Re: The XY Problem (2014)

#14
post #2

The worst XY problem is knowing you want to do Y, even if its strange or whatever, asking how to do it, and people asking you "why do Y? Do X instead". Happens all the time in Stack Overflow. Just answer the fucking question, and then give the lecture on why you think it should be done that way, or why it shouldn't be done at all...

There are a few people who frequently have this complaint, but I don't think it's a real problem. If you actually need to do Y in a situation where most people who think they need to do Y are wrong, it's not everyone else's responsibility to divine that you are the magical case. It's your responsibility to demonstrate that you actually do know what you're doing.

This isn't something you do by discussing how unfair other people are. It's something you do by communicating the constraints you're working inside, your knowledge of more typical solutions, and why they don't work for you.

If you aren't providing that information, you're wasting the time of everyone who is voluntarily helping others. It's not their fault that you're not providing critical information for answering your question effectively.

When you're the special case, you have to communicate that fact. It's just wasting everyone's time when you expect others to know it without communication.

Re: The XY Problem (2014)

#15
post #9
post #2

The worst XY problem is knowing you want to do Y, even if its strange or whatever, asking how to do it, and people asking you "why do Y? Do X instead". Happens all the time in Stack Overflow. Just answer the fucking question, and then give the lecture on why you think it should be done that way, or why it shouldn't be done at all...

You have to consider that SO exists not only to answer your specific problem, but also to help other users who might face a similar problem. In that context, it might be helpful to mention, if you are the asking person, include the details why you cannot do X, if you know you can't; or, if your question doesn't include details about your specific circumstance, answers that mention that common solution is to do X inst…

>but also to help other users who might face a similar problem

They could ask their own questions.

I'd rather have a database of specific questions with specific answers than "X-Ys" all over the place.

Re: The XY Problem (2014)

#16
post #9

Earlier quoted context omitted.

You have to consider that SO exists not only to answer your specific problem, but also to help other users who might face a similar problem. In that context, it might be helpful to mention, if you are the asking person, include the details why you cannot do X, if you know you can't; or, if your question doesn't include details about your specific circumstance, answers that mention that common solution is to do X inst…

No. User asks I want to do Y. The responding party should in my opinion: - Provide a solution to Y first . This is OP's point. - Then as a corollary, provide some of their guesswork of what X might be and if it is true, then this is how to solve X without having to do Y. So, it is still beneficial to n00bs and the uninformed, just puts the direct answer to Y first . That's all OP is asking and I agree with that. Most…

This is not a good approach. For the typical person asking a question, you waste their time at best. At worst, they actually use your solution to Y and ignore why it's bad. Both of those are significantly worse than clarifying the problem in the first place.

Re: The XY Problem (2014)

#17
But sometimes this happens because the questioner wants to avoid other people's waste of time asking a more specific and limited question instead of a generic one. Often this happens because the environment where the question is asked is highly selective and does not accept too verbose and indirect questions. The solution is to be more open to conversation on both sides.

Re: The XY Problem (2014)

#18
post #2

The worst XY problem is knowing you want to do Y, even if its strange or whatever, asking how to do it, and people asking you "why do Y? Do X instead". Happens all the time in Stack Overflow. Just answer the fucking question, and then give the lecture on why you think it should be done that way, or why it shouldn't be done at all...

I suspect the type of person who answers questions unhelpfully like this is often highly experienced, but without terribly deep technical knowledge (in the rigorous, scientific or academic sense). You get an often practical answer, but it's just not helpful when you are pushing the boundaries in any particular domain.

Re: The XY Problem (2014)

#19

Earlier quoted context omitted.

No. User asks I want to do Y. The responding party should in my opinion: - Provide a solution to Y first . This is OP's point. - Then as a corollary, provide some of their guesswork of what X might be and if it is true, then this is how to solve X without having to do Y. So, it is still beneficial to n00bs and the uninformed, just puts the direct answer to Y first . That's all OP is asking and I agree with that. Most…

This is not a good approach. For the typical person asking a question, you waste their time at best. At worst, they actually use your solution to Y and ignore why it's bad. Both of those are significantly worse than clarifying the problem in the first place.

No one is saying we shouldn't provide why Y is bad. I said, it should be a corollary.

The bad approach is when the entire thread is full of guesses of what X might be without knowing the full context. Y is nowhere to be found. It breaks the UX of SO.

Re: The XY Problem (2014)

#20
post #2

The worst XY problem is knowing you want to do Y, even if its strange or whatever, asking how to do it, and people asking you "why do Y? Do X instead". Happens all the time in Stack Overflow. Just answer the fucking question, and then give the lecture on why you think it should be done that way, or why it shouldn't be done at all...

Regarding SO, it suffers from a strange form of cognitive dissonance:

A. You can't ask "what's the best way to do X" because, for whatever reason, these kind of questions are not aligned with "the site's scope".

but

B. When you ask something specific, you get a lot of "it's better if you do X" answers. I even have had some really nice questions closed because some mods thought I was "asking the wrong thing".

Both behaviors are allowed and encouraged ¯\_(ツ)_/¯.

Post reply on HN