Sometimes I will face a problem and either figure out the answer myself, or find the answer on a site other than StackOverflow, but I think it might be helpful to other people. Is it acceptable (or is there a different method) for posting the problem and answer?

If I had a blog, I'd throw it on there, but I don't.


2 Answers 2


In many ways, that's exactly what StackOverflow is for. If you have a programming question which hasn't been asked, and doesn't have an obvious solution (and based on what kinds of questions get asked, it seems no question has an obvious solution for everybody), you should ask it.

Conversely, if there's a question asked and you have a good answer for it, you should post the answer so others can share your enlightenment. It's uncommon that you'll post the question and the answer at the same time (usually you'll ask the question, do some research, find a solution, then come back and post an answer) but there's nothing wrong with it.

As an added bonus, occasionally someone else will post a better solution than the one you found. That's a win-win.


Yes, as long as the question is in the question and the answer is in the answer.

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