News for hackers. Stuff that matters.
Re:The XY Problem by anotherangrydev on Friday August 07, 2015 @02:42PM (#10024188)
This is stackoverflow.

"I want to draw a square in an HTML Canvas"

"Why?" "Why not use python?" "Circles are better than squares, just saying" "It is not possible to draw a square usign that language, it was not designed to do that" "It depends on what type of screen you're using" "Are you sure you want to draw a square in the screen?" "How do you define a square?" --> "10 Downvotes, closed as not constructive"

And later, but only if you're lucky:

"c.getContext("2d").rect(20,20,150,100).stroke();"

Re:The XY Problem by bradjohnson on Friday August 07, 2015 @03:00PM (#10024300)
This is especially bad when you are posting in a Q and A forum like Stack Overflow and I see it happen constantly to myself and others. A year down the line if I search how to solve X problem I may not even want the same end result as the OP of the SO post and then nobody has even solved the original problem, just suggested alternatives that are useless for me. If I make a post, someone will inevitably close it as a duplicate of that question. Very frustrating.
Re:The XY Problem by davidgerard on Friday August 07, 2015 @02:50PM (#10024237)
Oh goodness yes.

"You don't NEED a car, I use four shopping trolleys bolted together with an outboard motor. It's so much better." G+ post: https://plus.google.com/111502940353406919728/posts/DKDCbDGr...

And past discussion on HN: https://news.ycombinator.com/item?id=9084152 'My buddy and I call that "I asked how to use a ladder, you told me to take the elevator" syndrome. I'm picking apples!'

It's typical mind fallacy in weird people who don't realise how non-normative they are.

Re:The XY Problem by danielweber on Friday August 07, 2015 @03:15PM (#10024397)
Definitely Stack Overflow, but it's a long-standing problem that existed long before that. "Assume the user doesn't really want what they asked for."

In the late 90s the ultimate condensation of this was to answer any computer question with "install Linux."

Re:The XY Problem by cecilpl on Friday August 07, 2015 @03:53PM (#10024609)
See this classic blog post for a counterpoint: Pounding A Nail: Old Shoe or Glass Bottle?

http://webcache.googleusercontent.com/search?q=cache:weblogs...

Re:The XY Problem by solidpy on Friday August 07, 2015 @04:07PM (#10024679)
I remember a question in asking for what kind of keyboard they could buy to type faster. The question got closed while I was preparing my answer: a stenotype.
Re:The XY Problem by dvirsky on Friday August 07, 2015 @03:39PM (#10024545)
More often than not, newbie questions on SO are XY questions, so I guess it creates a bias. I actually got downvoted many times for answering the actual question when most people thought it was the wrong way to achieve the broader goal, even though it was a correct answer.

So usually if I do it, I try to answer the question, and add my opinion on what the better approach might be.

Re:The XY Problem by ikeboy on Friday August 07, 2015 @03:39PM (#10024550)
Re:The XY Problem by recursive on Friday August 07, 2015 @07:23PM (#10025593)
That's not a square.
Re:The XY Problem by zajd on Friday August 07, 2015 @02:48PM (#10024221)
Link?

StackOverflow certainly has its issues but absurd hyperbole like this only makes your argument weaker.