This question asks about the case of a user with problem P, that is closed in favour of an apparently-different problem Q, where P can be broken down into A, Q, B.
I agree that many problems are like this, and in general, I don't see a problem with closing as a dupe, if P differs from AQB only by A and B, both of which are well understood and trivial.
Not complete
It is not the full story about typical dupe closures, however. It fails to consider the other direction, where the user who asks a question D, which is closed as a dupe of canonical problem R, where R can be further broken down into C, D, E (and C, D, E may or may not overlap with each other in scope too).
In this case, D is the more "atomic" question, and it is closed as a limiting case of a more general question.
Here is one example:
- R: (very difficult in the general case) "How can I encode a string in a Bash variable such that it can be safely passed into a sed
s///
command?".
A solution to this (real life) problem can also solve these much simpler problems:
C: (easiest, and most frequently asked) "How can I encode a string in a Bash variable such that any forward slashes that it may contain will be properly escaped when passed to sed's s///
command?"
D: (harder) "How can I encode a string in a Bash variable such that it can always safely be passed to the *replacement* in sed's s/regex/replacement/
"?
E: (harder again) "How can I encode a string in a Bash variable such that it can safely be passed as the *regex* in sed's s/regex/replacement/
"?
Solving the general problem R here is really, really hard. The answer to that question, unsurprisingly, is very long.
Of course, someone who knows they only need to escape the forward slashes will not want a complicated function in their code that solves the general problem. That would be over-engineering.
99% of the time, the user, for better or for worse, just wants to know C.
A better theory, therefore, needs to consider this type of dupe closure too.
Reasonable users
Reasonable person test?
While I agree with the general approach suggested for the case P = AQB, I find the idea of the "reasonable user" problematic. It seems to be the "reasonable person" test borrowed from law, but upended. The "reasonable person" in law is not supposed to possess any skills of deductive logic. Quite the opposite. The "reasonable person" is supposed to be the person who thinks and behaves just like any other reasonable person.
If users of this site were "reasonable" in the sense proposed by the OP, duplicates mostly wouldn't be asked. That questions are repeatedly asked that get closed for one reason or other suggests that most of our visitors - including those asking, and those reading in the archives - are not reasonable in this sense.
It seems to me that reasonable isn't the right word; what the OP really means is ideal user, the user we wish was the typical one. This definition of "reasonable" makes the "reasonable user" exceptional; and the typical user "unreasonable".
After all, it is eminently reasonable to simply want to get your job done, as fast as possible. There is the typical user.
Trivial is a matter of opinion
Also, things that are obvious to me aren't always obvious to others. Sometimes I find myself surprised by this.
While there may have been widespread agreement in whatever prompted this question to be asked here, it is often the case that whether or not something is a dupe divides the community here down the wire.
A better approach
Naturally, the simplest and best approach, that would probably solve all arguing and all problems, would be to do exactly what every other company in the world does, when building its internal Q&A databases and knowledge bases- defer to the judgement of the customer/consumer/asker.
Just ask them if they are happy to have their question closed as a dupe.
"The customer is always right". 9 times out of 10, the customer will be flexible about this. Occasionally, the asker will just disappear and not reply, in which case their question will be closed because they never came back.
Note that in the comments, it is argued that this won't work, based on observations that askers almost never support duplicate close votes on their questions. I think the reason for this is that there's a big difference between helpfully asking someone if the duplicate you found helps them; and unilaterally voting to close their question. The former is likely to elicit cooperativeness ; the latter defensiveness.
Occasionally, the asker will be difficult, obstinate, obtuse etc and demand an answer to a question that was already asked. Big deal. Either someone will answer it, or not. If not, the question gets closed in a few days anyway. A win for everyone, and nothing to argue about.
The answer may be a partial duplicate..
: then it's a duplicate. In your question you are having issue with quirks mode. Reading the duplicate will make you understand this and you will know that the missingdoctype
is creating the weird behavior. We expect user to do some effort to actually read the duplcate, follow the links, check related question, etc ... don't expect answers like hey mehrdad, you issue is the line 4 of your code because ... but to get answers like your issue is related to quirks mode then you should do the search effort to understand quirks mode.close as duplicate
reads "This question has been asked before and already has an answer.". The help center specifically says "we love (some) dupes. There are many ways to ask the same question, and a user might not be able to find the answer if they're asking it a different way."what's wrong with having multiple answers?
because this is not how SO works. We are not aiming to have a forum. We want to build a high quality question/answer repository where we need to minimize the duplication in order to have canonical question/answer that cover the most common issues. A comment won't be enough to explain the philosophy of SO but you will find a lot of meta question dealing with this and other person to explain this better than me.