As stated here, one can pose a question with the purpose of answering it oneself. Perhaps this is a tricky situation that you encountered in your own coding and fixed and the material does not already exist on SO.
Can there be a shortcut mechanism for this, especially with the fastest gun in the west style answering we have? I am thinking that one should be able to ask, answer and accept in a single submit if that is one's purpose.
I think actually it is a courtesy to others because it lets these fast answerers know that they may find it better to get their reputation on another question. The question and answer can still be downvoted into oblivion if neither meets the quality standards of the site.
EDIT
Maybe this would be a you need so much rep function if we are worried about spam piling up on our site.
>:D