Before I post a question on Stack Overflow, I spend quite a bit of time trying to answer it myself. Along the way I've thought up solutions that aren't quite right, maybe because they're solutions to a slightly different problem, or I only have a partial solution, or it's just a plain old hack and I want to know the proper way.
When I post the question I want to include the extra answers. They stop people posting things I already know I don't want (which wastes everyone's time) and maybe they help get to a good answer by letting someone just fill in a detail rather than having to think up the whole thing. Plus, sometimes examples help illustrate a question better than a literal statement. Most of all, they may be useful to others who stumble on my question from Google, even if they weren't useful for me. Just to be clear, these are not answers that I would then accept; I still want someone to come in with a better answer.
Unfortunately, a wall of text is a less attractive thing to answer than a one-liner, even if it's easier on reflection e.g. I put a lot of effort into this question, but it only got a single vote, which was down!
- What is the right thing to do in this sort of situation?
- Not include my research?
- Carry on as I am?
- Post them as answers (or one big answer) to my own question, even though though they're not actually quite answers?
Edit: Thanks for the responses and to Tiny Giant for the bounty on my question (that would've been my next action once I established whether to edit my question). I'll carry on posting long but structured questions.