Purpose: To improve the user experience of the visitors of TeX.SX (who most likely provide the majority of the traffic), in exchange for the slight detriment of that of the questioners and answerers.
It is a common practice in this community to request MWEs in questions without it. My personal observation is that they are usually taken as the actual question rather than just an example. I think this severely hurts the usefulness of the community as a resource.
Many questions here do not have an answer. The "answers" in them provide solutions targeting only the particular instance in the example, sometimes going completely against the question body and title.
Questioners can use the checkmark to designate which "response" resolved their troubles, not to choose which "answer" answers the question the best. This can create the illusion of answered questions, although in reality they are resolved problems of the individuals, which isn't what the StackExchange communities, and Q&A in general is about.
Exhibit A
Coloring a node after its creation
A couple of things are very detrimental for the user experience with this Q&A:
- The answer is incomprehensible to human eye.
MWE of the questioner is 48 lines. Accepted answer? 62 lines of code, no text. - The "answer" is not an answer to the question.
The question clearly specifies that the coloring should be done "after creation", even in title. Required me to have adiff
to find out that answer actually completely ignores that request.
The questioner is not to blame for their lengthy WE either. A true MWE to that question would be the following, silly as it is:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\tikz{\node [draw] {A};}
\end{document}
However, any questioner, due to such abuses of MWE, is forced to provide their entire code without simplifications. Otherwise, they risk receiving workarounds as an answer to the MWE that do not apply even to their own real case!
Moreover, what if the questioner is just curious about something? Well, the they cannot assume that answerers will answer the question in the body. So they have to either make harsh warnings, or provide a bizarrely convoluted MWE so that the answerers are unable to outmaneuver the question with a workaround that applies only to MWE, and are forced to either answer the question, or don't.
These are all backed by the exhibit, and facilitated by the MWEs, and them being socially enforced.
Exhibit B
Array indexing does not work for the node label
This one shows how MWEs can harm the generality of Q&A's:
- The answer is only for a specific case of the question.
A question with the same body and title now has to be asked, only with a different MWE that instead provides a text/math array to use as the node label. See that question here.
This one is much more mild, as the answer at least actually answers the question. It still does it in a vision narrowed down by the MWE, focusing on arrays with numeric content. This yields an answer simply isn't complete, as the question body does not make such a specification.
Without a MWE, it would be easier for answerer to think about text/math node contents. Perhaps they would even think about those first.
Exhibit C
Start aligning from another equals sign after some line of equation
This is a pro MWE example. It was not possible for the answerer to give a generally applicable answer. Thus, they openly stated that their "solution" is just a "trick". It presents an example quirks with the solution, and speculates that there might be others.
Of course, it's all posed, as it is a self-answered question. I was just presenting my own workaround that wasn't perfect.
Unfortunately, MWE's aren't usually respected like examples as in this case. If they were all like this, they would be perfectly harmless points to start for the answerers. I do not object against the idea of MWE. I think it's a great idea, misused.
MWEs are taken as if almost the main question, with the rest as secondary to it. This attitude towards MWEs make the questions very individualized, and damages the Q&A's applicableness.
I think every StackExchange community should take Q&A reusability as a performance metric. I think the misuse of MWEs is harmful to TeX.SX's performance.
There isn't just one solution to this. Here are some ideas:
- Discouraging answers that put the example at the center.
- Disallowing "answers" from being marked as answers, if they;
- fail to address the question title/body (e.g. Exhibit A), or
- fail to address the question title/body for another MWE (e.g. Exhibit B).
A functionality to let the answerer prevent their "answer" from being marked as answer could also be nice, for people that want to provide an individualized workaround for the questioner, while admitting that theirs is "not an answer to the question asked".