I was wondering whether placing a question and answering it right away is a bad thing. It has happened a few times that an interesting question pops up due to comment-questions from peers, and that I subsequently search and find a nice answer, which I think is worth sharing. As of now I have asked a question while already knowing the answer, and as such answered it straight away: Are sensory receptors neurons?.
However, this may be deemed as a form of cheating to gain reputation, or it may well be otherwise be deemed malpractice.
Is there a consensus about this issue? It is interesting to note that I cannot upvote my own answer, but I can accept it (after 48 hours). Hence, it is a potential source of easy reputation.
PS: There is this question Why aren't people answering their own questions?, but it does not cover my question as mine deals with deliberately posting a question with an answer.