The issue here is that this site thrives and works best on specificity. When we answer questions, the more context that the OP's provide, the better the answers that we give.
If someone is asking a question and gender is somehow an issue that is relevant, you have two options:
- Provide an answer that covers the possible answers. Your personal example seemed fairly reasonable.
- Ask the OP for more details. Clarifying comments are one of the main uses of comments after all.
But your question is about if you see someone else's answer. Well I would apply the idea behind the two points above and do the following:
- You can provide an answer of your own covering the missing info. Something along the lines of...
Answer X gave a great suggestion on how to handle this if you are male. Here is my solution if you are female...
You could also suggest that as an edit to the original answer if you are feeling generous. (courtesy of Kilisi)
- You can ask the OP for clarification. If the OP then confirms that the answer and they align, then move on. If the clarifications makes the answer irrelevant then point the answerer toward the clarification and ask them to adjust the answer accordingly.