5 ms·
Though this is a common issue, it is certainly bothersome when someone _wrongly_ assumes you are experiencing the XY problem and demands a lot of unnecessary in
by keyanp 4y ago
Though this is a common issue, it is certainly bothersome when someone _wrongly_ assumes you are experiencing the XY problem and demands a lot of unnecessary information before helping you with something.
- KeepFlying 4y agoHow else can I delay needing to actually think through your question??
- TillE 4y agoRight, it's fine to say that 90% of the time you shouldn't do X, but it's important to understand why you're saying that, and why sometimes you really do need to do X.
- db48x 4y agoIt's also really annoying when people cannot recognize that they have asked an X-Y question :)
- pathikrit 4y agoWhy not respond with both X and Y? e.g. for the last 3 character thing, here would be an appropriate response: To get the last 3 characters, do `echo ${foo: -3}`. Are you trying to get the file extension though? What if the extension is not 3 characters e.g. `foo.jpeg`? You then want to do `${foo##*.}`
- bee_rider 4y agoSome more probing might still be needed for the second solution, how a .tar.gz gets handled might depend on the programmer intent, could be different from a .gz hypothetically.
- seba_dos1 4y agoBecause not every answer is as quick and straightforward as your example.
- IshKebab 4y agoYeah this is definitely the best response. Unfortunately most people (especially on Stackoverflow) are not as wise as you and will just downvote your question and say "you shouldn't do that".
- AbrahamParangi 4y agoDefinitely frustrating for everyone following as well, since answering the question assuming it's an XY problem is only useful to subsequent readers who are trying to solve the same problem and doing it wrong in the same way. It is not helpful to people who are trying to solve a different problem correctly, who would like an answer to the exact question that the original poster asked, nor is it useful to people who are trying to solve the same problem but in a different, also wrong way - as they will likely never see the post.
- hinkley 4y agoIn general people don't want to hear that they have a problem from anyone but themselves. I've had so many I Told You So moments with certain individuals that at some point you just assume everything they ask for has been rendered incomprehensible in a game of Telephone, either with other people or with themselves. In public policy they call it, "Something must be done, this is 'something', so we must do it." Neal Gaiman did a compendium of Norse Mythology, and in it he claims that Thor says, "When something weird happens I always assume Loki is involved. It saves time." That's the line that stuck with me the most out of that entire book. The people who fall into this category will tune you out while you say over and over "this is going to hurt us next year" and come in with a Pikachu face a year from now when they find out that it's been a year and the chickens have come home to roost. People, as it turns out, are much more accepting of a team delivering consistently 10% slower than expected versus a team that delivers to expectations one year and suddenly drops by 50% a year later. They can't understand that. They can't predict it. It just looks to them like you've stopped doing what you are paid to do, rather than the truth which is you stopped doing what you were paid to do 2 years ago and you didn't jump ship before the consequences showed up.
- dredmorbius 4y agoIt's less wasteful of collective time and effort to determine up front that the situation is NOT an X-Y problem than to traipse down the primrose path presuming it isn't only to subsequently learn that it is. Those who are experienced enough to understand the X-Y problem will recognise and acknowledge this. Those who aren't will often find reason to take offense. <shrug>
- ithkuil 4y agoIndeed. I think it even deserves a name. The "XYX problem"?