Skip to main content
2 of 3
*title to reflect the essence
ivan_pozdeev
  • 35.8k
  • 3
  • 62
  • 84

Should I vote to delete code-only answers?

I came across this answer in the low-quality queue:

low-quality question

I don't consider it a good answer. There's hardly any explanation of the code itself, the little explanation there is is in a code block when it shouldn't be, and the catch (Exception e) irks me out. I would definitely downvote it. However, it's still an answer, and doesn't really fit any of the standard deletion reasons.

I've came across several answers like these in the low-quality queue, and I'm unsure of the proper way to handle them.

Which is the proper option to pick for these type of answers?

  • Recommend deletion: It is a poor answer with little explanation and problems in the code.
  • Looks OK: It is an answer to the question, and isn't spam, a link only answer, etc.