This question already has an answer here:
When asking a question on stackoverflow, one is suggested to answer one's own question with the following text:
Answer your own question – share your knowledge, Q&A-style
And yet it seems rather unpopular to me, that is, types of questions that seem of good quality (perhaps I'm biased because I'm thinking about my own questions) don't get as much immediate attention. For example:
So my question here, is does this sort of answering your own question right off with your question work and is it really encouraged on stackoverflow?