I flagged this answer as "very low quality" because it is a code snippet without any explanation. However, my flag was disputed.
Can anybody explain why code-only answers are not "very low quality"?
I flagged this answer as "very low quality" because it is a code snippet without any explanation. However, my flag was disputed.
Can anybody explain why code-only answers are not "very low quality"?
You can't make a blanket statement like, "If I see a code-only answer, it must always be low quality due to being code-only". Sometimes, in the context of the question itself, short snippets of code can be extremely helpful.
The answer you linked to was not helpful in the context of the question. In fact, as written, it was barely relevant. But that doesn't mean all answers that contain little more than code are the same - it depends on the answer.
Did the answer help you understand the problem being described in the question? If so, it's not low quality.
Yes, code-only answers are VLQ here, because the SO is not a code snippet sharing site. We use meaningful, well-formulated, human communication to share our thoughts. It is a much higher level of the communication, as writing a question on a semi-literate level, and then answering it with a code snippet.
Typically beginner programmers tend to think, that communicating purely in code snippets is a HQ thing, but it is not. In our minds, there are still human concepts and human terminology. We are thinking on a human language. Communicating in source code is not an advanced level of communication, it is a degradation of it.
Not doing with code-only answers anything (at least voting them down, or flagging them as VLQ if they seem unsalvageable) breaks windows, i.e. it encourages others (typically VLQ posters) to follow this bad behavior.
The StackExchange does a pretty amazing job to enforce these "young titans" to learn to formulate in round, natural language sentences, if they missed to learn this skill in the elementary school.