I contribute to StackOverflowStack Overflow because I want to help people. I also take a certain amount of pride in giving "good" answers to questions, i.e.that is, not only a snippet of code, but also an explanationexplanation of the concepts that led to the problem in the first place.
If I know how to solve the problem, but don't have time to write an answer that I think is an appropriate standard, I will often put that answer in a comment. First, this may be enough to help the OP. Second, it may be enough to help someone else to write a good answer. If theythey don't, I'll generallygenerally come back to it later in the day to write it up as a proper answer.
The other circumstance is when the problem is obviously trivial or a very common duplicate. In which case I'll vote to close, but I'll also try to give a brief solution in a comment, because I'm nice.