XY Problem

From Resonite Wiki
Revision as of 22:20, 19 July 2024 by AmasterAmaster (talk | contribs) (Added an information note.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The XY Problem is an abstract concept that arises when a user is trying to solve a problem using solutions they think will solve it, or asking for solutions to a proposed or generic solution to an issue (which is called X). The user may not be knowing or aware that the problem they are trying to solve could be multiple layers deep from the actual problem (which is called Y).

This is a common occurrence in software development, including Resonite's GitHub. There are reporting requirements that state to avoid XY Problems.

You can use Y as a way to ask "why" do you want to use/do X, or "why" do you think X will solve the issue.

Examples

The way something can be worded can really help when figuring out the actual problem. Here are few examples to think about when dealing with the XY Problem in Resonite:

X: Don't say - I want to make a cheese burger. --> Y: Say - I want to be able to put a cheese on a patty when making my burger.
X: Don't say - I want to make a string parser for my incoming network string. --> Y: Say - I want to extract escape characters from my string.
X: Don't say - I want a node that can do this and that. --> Y: Say - I have a problem, and adding a node or component would help as a feature.

Discussions

See Also