On this site it is common to see questions where OP asks if their approach or their solution to a problem is correct. Often, people answer these questions by providing their own entirely different proof. Example 1 Example 2.
My opinion is that these answers do not address the question, and they should be discouraged as they do not help the OP. Often these are only a way for the answerer to show off their nifty proof or elegant counterexample, which maybe does not resemble OP's original approach at all, and is almost impossible to find for a beginner.
What should I do in this case? Should I downvote the answer and move on? Should I flag them for moderator attention as "not an answer"? Should I leave an explanatory comment? Is there a standard boilerplate comment to explain the situation?
What is the opinion of the community on this matter?
answers are also for the community and only the OPIt's obvious from the context that you meant "not only the OP". Completely agree with this, and your previous comment. $\endgroup$