Why could it be considered rep whoring to ask a question that you already know the answer to and then answer it yourself? Doing this adds to the value of the "knowledge base", and may help others when the question appears in web searches. And if the question and/or answer are good enough to get upvotes, why shouldn't the same person get points for both?

(The source of this question is John Millikin's comment on this StackOverflow question: How do I mock an open used in a with statement (using the Mock framework in Python)?.)


2 Answers 2


It is acceptable.

It's not required, but good SO etiquette is to also mark the answer (not question) as community wiki to avoid the appearance of begging rep. This way others can still earn rep in the normal way if they post something to the question, and if someone wants to reward your time they can still do so by voting on the question.

  • 1
    Community wiki is no longer available. Dec 28, 2012 at 20:20

It is acceptable and encouraged to answer your own question on the StackOverflow sites.

See this link.

  • 4
    I've never considered it rep whoring.
    – EBGreen
    Aug 17, 2009 at 20:44
  • I actually agree.
    – jjnguy
    Aug 17, 2009 at 20:46

You must log in to answer this question.

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