During review, many times (20%-30%) I see answers that are only a code-block. Some examples are SQL queries, CSS queries, any prog. language coding issues. The answer is only a code block. Stack Overflow assumes that these posts are low quality posts, though they are high quality code. Many times they are written by users with reputation scores above 20k or 40k.
So how to improve low quality answers that are only code blocks, so that we can reduce low quality posts on Stack Overflow ? (in /review or while answering questions)
I have seen related questions like this, mentioned below, but have not seen this problem discussed:
- How to improve the quality of Stack Overflow questions and answers?
- How does Stack Overflow attempt to prevent low-quality questions and answers?
- Suggestions to improve the 'Low quality posts' list on review tab
Some things needs to be considered while reviewing this posts:
I have seen many times these sentences written above code block:
- Try this code/ sql query
- You should use this code/ sql query
- Have you tried....
Should these sentences be removed or not?
What should be included in answer with code so it wouldn't be of low quality? Because many times only code can explain everything required to OP.
How can we teach high reputation users or any users in improving this posts so that upcoming posts of high quality? What comments should write to high rep users so upcoming posts can be improved?
What are do's and dont's while reviewing this posts?
How do you succeeded in improving such low quality posts?