That's what you get when you expect a site to be run by robots but all you have is human beings. According to the philosophy of the site when you ask for A, even if A is the worst idea in the world, answers should be for A. Whether someone is going to suffer from the consequences of doing A is absolutely irrelevant.
But humans will rebel against A, B is the way to go. And that's how everyone just keeps abusing the site from all angles, they just don't get with the program.
And so many people there can't think outside the box and realize for very specific scenarios that A is actually needed, despite its perceived inefficiency or the fact that other options are better in the ideal scenario that they made in their heads.
There is also a huge problem with understanding efficiency. A poorly constructed query that runs an hour while rewriting it can bring it down to seconds is obviously something that should be changed.
Drastically changing data structures and code to reduce processing a transaction from 1 second to 0.99 seconds is probably not worth it.
Oh yeah. Had this one myself. Back in 2011, I asked how to keep the virtual menu button for my Android app on Honeycomb tablets while targeting Honeycomb. They told me that "you don't do that, you use the action bar". Yeah, thanks, just let me do a complete UI redesign of my app real quick.
It's not limited to Stack Overflow either. At work I deal with a pretty large code base. If you ever ask for advice about how to fix some bug or the best way to implement some algorithm or something there are inevitable suggestions that you should rewrite thousands of lines of code. Like... Bruh... Yeah I probably should, but we've got deadlines and shit you know?
"Hey all, been reading into how xyz handles classes, and it's a bit strange to me but there's no documentation on why it's different so I was wondering if anyone knew about the history and reasons why?"
"Look if you knew anything about coding you wouldn't be trying to anything that isn't OOP. You're clearly a moron at this"
On the other hand, you also see a fair amount of questions like:
"I need to develop a full website that uses an XML 'database' and look up stock prices using tcp sockets. The server code needs to be written in assembly language. Can someone do that for me?"
Understanding why A is a bad approach and why XYZ is better is often much more important than doing A. No shame in not knowing -- everybody was there. But shame in not wanting to learn why in addition to how.
I mean, I wouldn't go to stack overflow for that though. I go there to solve problems I can't solve myself. Learning can wait til I haven't got an immediate issue.
Alright, let's learn and teach how to do A then. Let's even implement it as a library to help others do A, even though this was considered already and is likely the reason why you don't have A api in the first place.
I'm always grateful when somebody points me to why A is a bad idea before I do A, no matter where.
290
u/Huwbacca Apr 12 '19
"how do I do this manipulation to an array?"
"How fucking dare you. Do you know how inefficient that is? Dont you know the best way to do xyz? You're an idiot"
"Ok. But... I have to do it this way. Anyone know how?"