A while ago, I was looking to do X. I thought that I might be able to solve the problem by doing Y, but was also open to other potential answers. So, in order to avoid the XY problem, I asked a question along the lines of "How do I do X? I think I might be able to do it via doing Y, but I can't figure out how to do Y either".
When I asked the question, I ended up with a couple of answers explaining how to do Y, together with some comments doubting whether Y was actually a good way to achieve X.
The answers for how to achieve Y are non-obvious, and may be generally useful. But a search asking how to do Y doesn't turn up any relevant results. As I understand it, Stack Overflow's model is partially to try to help people with their immediate problems, but also partially to try to build an FAQ – and the question I asked is probably not a very good FAQ question, because Y is more generally useful than X is. For other people with similar problems, they'd be much better off with a question "how do I do Y?" than "how do I do X?" (because they probably aren't trying to do X) – additionally, the existing answers might not be ideal for the actual question I asked, "how do I do X?", due to the doubts about whether Y is actually a good way to achieve X.
So I can see three main options:
- Leave everything as it is.
This means that people trying to do X will get potentially bad advice based on my own attempts to solve the problem, and people trying to do Y probably won't find the answers explaining how to do Y. - Edit the question to be "How do I do Y?", giving X as an example (so that the existing answers still make sense).
This would be the most immediately useful for people who were searching Stack Overflow for answers to their question.
One drawback is that the answers would lose some of their context; another is that editing the question to no longer be about X would discourage people who knew the best way to do X to give a non-Y-related answer (if any exist). - Create a new question, "How do I do Y?".
The problem here is that, despite not being a duplicate question, the answers would be duplicates of the existing "How do I do X?" question – and it is unclear who should be the person to post them. (For example, if I ask that question, should I copy over / paraphrase the answers from the existing question? I could link to them to give credit, but it seems wrong to effectively steal the upvotes from them, as a "how do I do Y?" question is likely to be much more popular. Or should I wait for it to be answered again? — but that seems like a waste of everyone's time.)
Which of these is the best approach?
(A related existing question: I found an answer but the question was very different from mine. How can I make the answer easier to find for other people?, which is for a similar situation, but written from the point of view of someone who is trying to do Y – and it isn't clear whether the situation is the same, nor does the existing answer help me figure out what to do in this one.)