I don’t think you quite understood the xy problem. A better way to explain the core concept is “don’t ask how to do your erroneous solution, ask how to solve your problem”, the corollary to this is “don’t just ask how to do something, explain why are you trying to do it or what you’re trying to accomplish with it”. This helps people to contextualize their answers when trying to help you. Remember that the problem is that the person is not asking for X because they don’t understand their problem in the first place. You’re right about stack overflow though, very useful info sometimes but incredibly toxic place most of the time.
I don’t think you quite understood the xy problem. A better way to explain the core concept is “don’t ask how to do your erroneous solution, ask how to solve your problem”, the corollary to this is “don’t just ask how to do something, explain why are you trying to do it or what you’re trying to accomplish with it”. This helps people to contextualize their answers when trying to help you. Remember that the problem is that the person is not asking for X because they don’t understand their problem in the first place. You’re right about stack overflow though, very useful info sometimes but incredibly toxic place most of the time.
deleted by creator