Context: Say, I have a programming problem and two solutions in mind. Both solutions do not seem perfect but there may or may not be a better way.
Simply asking which solution is preferrable does not seem like a good idea, as this would attract opinionated answers and basically precludes further solutions. Instead, I can see three alternative ways to approach this. I could ask "how can this problem be solved?" and
post two separate answers with my own solutions. This feels natural, as my own answers would be among others' answers and the better solutions can rise to the top. Future users who face the same problem would immediately see what the community deems the best solutions and what alternatives there are.
include my own solutions in the question as "my attempts so far". This feels less natural because my "attempts" actually solve the problem. Future users would have to sift answers and question for solutions.
Or
- post on Code Review instead. However, the particular question I have in mind is of type "how to do X in that programming language?", which feels more like something that may be interesting for future reference than a code review task.
I'm in favor of the first approach as both, self-answering, and posting multiple answers are endorsed. However, I have second thoughts. First, I'm afraid this may seem like I was trying to game for reputation (three posts instead of one). Second, this smells a bit like a fishy workaround to post an opinionated question.
Is it acceptable and advisable to post multiple answers to my own question, as described above?