I've noticed this for a while now - people answer questions with a comment instead of an answer on SO.

An example of the issue

I'm not sure why, if I understand correctly "great comments" don't gain rep. The only logical reasons I see for this are:

  1. Users afraid of downvotes.
  2. Users with a plentiful stockpile of rep, who leave it up to a new user in need of some points to basically paraphrase them in an answer.

Is there a known cause? What should I do in a situation such as the one pictured? There are two correct answers in the comments (which I have marked as "great") but no answer to accept. It seems wrong to answer my own question when I wasn't the one to come up with the solution.

  • You can post the answer yourself, mention that comments by user X and Y helped you out, and accept it. Or wait until someone else posts the answer you are expecting, and accept it.
    – Laf
    Feb 13, 2012 at 21:41
  • 4
    When I don't know the answer but I have a few ideas for things to check, I'll post a comment. Perhaps the comment works and following that debugging step the OP resolves the problem. But while my suggested debugging step was the impetus to find the problem, it wasn't the answer - hopefully the OP provides the answer, or gives me enough feedback about their debugging that I can then provide a well-written answer. Either way, debugging suggestions are not answers, in my mind. (Posted as a comment both for your amusement and because this is a dupe)
    – Pollyanna
    Feb 13, 2012 at 21:52

2 Answers 2


I would post a comment asking the commenter(s) to write it up as an answer. If they don't (within a few days) I normally write an answer myself (acknowledging their contribution) and mark it community wiki so I don't gain rep from their work.

  • Ah, thank you! I forgot about community wiki. Feb 13, 2012 at 22:02
  • 2
    I'd like to suggest against the Community Wiki button -- there's skill in writing a good answer from a few words describing an approach to try. Those skills should be rewarded. :)
    – sarnold
    Feb 14, 2012 at 0:39

What most people do in this situation is to comment back telling the original commenter that it worked, and asking them to post it as an answer.

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