I would like to hear other opinions to this post where the author presents a question knowing the answer and posting it in a self-answer which I consider to be not the proper way to handle this site.
@Peter Creating a question-and-answer pair, as a reference to future users, is not only entirely acceptable, it is encouraged. If you think that you can provide a reference for others, in the form of a question to which you know the answer, you absolutely should post that question, and then post an answer. You are wrong in your belief that it is not acceptable to do this.
5
(Though it is worth noting that the question being asked still needs to follow the standards of the site; in this cause, the author found a duplicate).