The other day I found How do you write the end of a file opened with FILE_FLAG_NO_BUFFERING
?, which is a question I had, too. (Mine was slightly different in that I am not using FILE_FLAG_WRITE_THROUGH
, but the crux of the matter remains the same: performing the last write operation on a file opened with FILE_FLAG_NO_BUFFERING
.) To summarize:
- The author asks "Is
foo
really the only way to doX
?" - Of the four answers posted...
- One asks "Are you sure you need to do
X
?" - One is the author saying "It turns out I didn't need to do
X
!" - One muses about the merits of doing
X
without addressing the question of how. - One devotes a sentence to using
foo
to doX
...but then concurs with the answer questioning the need to doX
at all.
- One asks "Are you sure you need to do
- 11 years later I come along, knowing that "No, really, I need to do
X
." - 3 out of 4 answers don't attempt to answer the original question of "How do you do
X
? Withfoo
?", so I downvote them because they're not helpful to me. - Revisiting the question days later, I wonder if that was the right move and am curious enough to post this very question.
For the two answers that identified the author's question as an XY
problem, which are the focus of this Meta question, I see the following justifications for downvoting...
- They don't answer the question as asked.
- They aren't at all helpful to me, a reader in the future.
- They fail to recognize that
X
is a valid approach in some circumstances. If it weren't,X
likely wouldn't exist at all andY
would be the only option. - Maybe things were different back in (checks notes) Stack Overflow's first two weeks open to the public, but today at least the non-author answer seems like it should be a comment instead of an answer (arguably in this case of the
XY
problem whereY
is simply the absence ofX
), yet flagging as such would be too strong an action.
...but I can also see the following justifications for upvoting...
- They addressed the author's problem, specifically by identifying an
XY
problem. That is, they don't blindly answer the question as asked. - They would be useful to any other reader with the same
XY
problem. - Since they were posted the same day/week/month as the question, the Q&A had not yet undergone that implicit transition from "Let's address this problem for this specific user" to "Let's address this problem generally for anyone who might ever have it." With the focus of the question being solely on solving the author's particular need, they were, at the time they were posted, helpful answers.
...and justifications for doing nothing at all...
- It's not fair to punish an answer because neither it nor any other posted before or after are very helpful to me. It's not the responsibility of each answer to address a question from every possible angle. They chose to answer from one angle (
Y
) while having no way one of knowing if someone else would later come along and cover the parts they missed/ignored (X
). No one ever did, but I can't punish that answer for that. - It's not fair to punish an answer because the question was on the wrong track.
- I only care because I had the same question and 3.5/4 answers weren't helpful to me. If it were instead 3.5/5 answers that were unhelpful I'd just ignore those answers and focus on the helpful one. Therefore, whether it's 3.5/4 or 3.5/5+ my individual responses to the 3.5 answers should be the same.
TL;DR Ultimately, for some reason I find myself torn between "I should downvote this answer because it wasn't helpful to me, a person with the same problem" and "I should upvote/ignore this answer because it was helpful to one person, with the potential for more." Perhaps this is just the first time I'm evaluating an XY
question that A) I have a vested interest in knowing the answer to X
but B) all of the answers (largely) focus on Y
/anything but how to do X
. What should one do in that situation?
Note: I realize that, as mentioned above, there is exactly one sentence in the answers that does address how to do X
, which is certainly a lot different than zero sentences. However, that sentence doesn't instill a lot of confidence in someone searching for the answer, and would be very different if it were more like "Yes, you need to use foo
to do X
. <INSERT SUPPORTING DETAILS HERE>.", which is why I lump it in with the entirely Y
answers.