What is the XY problem?
Someone is trying to solve problem X, and thinks solution Y would work; but instead of asking about X, the implementation details of solution Y is asked about.
In other words, asking about the attempted solution to a distorted problem, rather than the original:
1 | <n00b> How can I echo the last three characters in a filename? |
The worst part of the X-Y Problem is wasting others a ton of time and energy in a fundamentally wrong direction.
How to recognize when falling into it
- User wants to do X.
- User doesn’t know how to do X, but thinks they can fumble their way to a solution if they can just manage to do Y.
- User doesn’t know how to do Y either.
- User asks for help with Y.
- Others try to help user with Y, but are confused because Y seems like a strange problem to want to solve.
- After much interaction and wasted time, it finally becomes clear that the user really wants help with X, and that Y wasn’t even a suitable solution for X.
How to avoid the XY problem
- Always include information about a broader picture along with any attempted solution.
- If someone is asking back a probing question, answer that at one level above the current discussion.
- Go over other solutions you have tried, or ruled out.
- If none of above worked, smile and get over the sunk cost.
References
Wikipedia: XY problem
Stack exchange
xyproblem.info
The YX problem
The XY Problem in Product Management