This question already has an answer here:

Sometimes answers are posted, which almost comply with the specs. They might be a clever, interesting take on the problem, but not follow one of the rules, or the program might crash in a few rare cases. What should be done with these answers? Upvote, downvote, or delete?


marked as duplicate by Alex A. Jan 18 '16 at 20:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Depending on the question/answer, I'd say leave a comment pointing out the flaw and wait for the user to fix their answer. It wouldn't be fair for others to allow the answer to stay, but on the other hand deleting is too harsh for an answer that almost works.

If fixing the answer breaks their clever code, then they can leave it in their post as a bonus footnote if they wish.

  • 7
    \$\begingroup\$ I think this applies most to accidental flaws. If an answerer clearly knows (mentions it, etc) that it doesn't conform to spec and doesn't include code that does, I downvote whether it's clever or not. Deletion (for me) depends on the answer quality in general. \$\endgroup\$ – Geobits Dec 18 '14 at 18:48
  • \$\begingroup\$ As long as answer doesn't contain malicous code, comment is good. Otherwise it should be immediately deleted or flagged if your reputation isn't enough for deleting. It's very good that we doesn't have much of those. \$\endgroup\$ – Hannes Karppila Dec 23 '14 at 17:00

Not the answer you're looking for? Browse other questions tagged .