The solution may have been trivial - maybe even a single character fix, but this smells like you posted a wall of code and wanted someone to go through it with a comb for you. You likely got downvoted because you didn't provide a minimal verifiable example and instead posted way more code than was necessary to produce the bug.
If you post anything more than a few lines of code, you are probably providing TMI and need to spend more effort distilling down the problem. 9 out of 10 times, you'll find the root of the problem yourself during this distillation process, especially if the problem is trivial.
Then again, this is wild speculation, but I see this a lot when I am helping newbies.
I'll never understand the mentality of people who put themselves in a position of answering questions, but are genuinely perturbed by the prospect of helping people with basic/misguided/imperfectly conceived questions. If they're the kind of person who could just read the documentation and solve all but the most complex of their own problems, congratulations. They should feel free to set that as the bar for anybody you hire or collaborate with. Or even set it as the bar for questions that they answer, but don't penalize people who are coming to a Q&A for not living up to those standards. If you're of that disposition on such a site, you're probably more interested in stroking your ego and watching some arbitrary points accumulate rather than actually helping people. There are lots of hobbies in development that don't expose you to beginner questions: go join a more esoteric users group, or contribute to an open source project without looking in the users forums/chat channels. Just do something that doesn't involve alienating inexperience developers.
It's almost like you need to pivot the question at that point to be "how do I isolate problems?" or "how do I debug?" because the asker lacks those basic skills needed to ask a good question.
Both pointing out the problem with the code/methodology/etc. and helping them see something from a different perspective so they do better next time are valuable educational goals, and I don't understand why so many people think SO should address only one of them. It's almost as if people think coding problems are OK, but helping people with more amorphous skills is either beyond or beneath them.
Troubleshooting is a skill that can be taught— having someone more experienced giving you advice is an invaluable asset when you're trying to learn how to do it. Refusing to help people because they don't already know how to do it themselves helps nobody.
Stack Overflow isn't a free tutoring service, it's a collaborative wiki of answers to common programming questions.
That being said, I agree that the current culture of "you're doing it wrong" is toxic, and should be replaced with a culture of "here's how to do it right".
That's one of the goals. I wouldn't say it's the goal.
I would argue that the goal of any software should be to help the immediate user. If it is not, then why should the user continue using it?
Stackoverflow is successful because helping the immediate user has secondary benefits, namely that it also helps others. But that doesn't mean this secondary benefit should override the primary goal.
That's like saying "I as the immediate user of Wikipedia want to be able to upload my research paper and have it check if there are any mistakes in my citations. If Wikipedia can't serve that immediate need, why should I continue using it?"
Yet even if Wikipedia isn't good at auto-checking your homework, it's still immensely useful for the vast majority of other users who don't care about auto-checking homework.
You can't build software that satisfies everyone's requirements. It's okay if some users choose not to use your software because it doesn't fulfill their requirements.
StackOverflow is a Q&A site. Asking questions and receiving useful answers is the primary goal, and therefore the immediate users are the askers.
Ultra specific homework questions do not help the immediate users (readers) at all which is why it is frowned upon.
Sometimes, all someone needs is a rubber duck. We can help by becoming that rubber duck.
Its the long term goodwill that eventually brings new programmers into the field, because programming is hard! Newbies need to know its ok to take risks and there will be a safety net.
This started to leak into my real-life conversations at work and I realized I was being condescending and arrogant. I feel like Stack Overflow and the related SE sites genuinely made me a worse person. I spend a lot of time in online communities and I've never seen anything so toxic.
That's very odd to me. I spend a lot of time in online communities and I've been hard pressed to find anything as welcoming and helpful as Stack Overflow. I became a high rep user over the years, and I made mistakes that earned downvotes, but usually someone could give me a pointer to how to improve my question or answer. (Not always, but usually.) It does suck to get downvotes, especially without a comment about why, but honestly, when I look at other sites (ahem hacker news) where the rules are only ever referred to by experienced users and in tiny print below the fold, the clear rules and help on StackOverflow, and posters who are willing to link to them and clearly explain them seem like a breath of fresh air.
I haven't spend that much time asking questions, but I answered many (and commented, edited, flagged…) but Id didn't found the community that toxic, especially compared to other places.
A newcomer shouldn’t have to know the subtleties of the guidelines. When I go to the library and ask the librarian a question they don’t reprimand me for the formulation of my question. They don’t refer me to the weekly research/reference class (which is great by the way). They try to help me find what I’m looking for. Sometimes I find questions on SO through google that are dupes, but if it weren’t for that dupe I may never have found the original with the search terms that I used.
This isn’t to say that SO’s rules are wrong, I just believe that there are those who are more concerned with the decorum than the functionality. Unfortunately it feels like those users outnumber the functional ones.
The other issue is, even when the reason is given, sometimes you would not agree with that. E.g. sometimes people claim it's a duplicate, although they are not deep enough into the topic to really tell, and then the question gets closed. Or people claim is subjective, while in fact objective answers are possible. Or many other things.
That being said, I agree that Stack Overflow has a duplicate issue.
https://stackoverflow.com/users/recently-deleted-questions/[your user id]
This link is on your profile on the questions tab at the bottom.After ~12 years of development, StackOverflow has gone from invaluable to irrelevant.
These days my questions are either so niche nobody answers them, or like you, I get a tonne of abuse for asking in the wrong place, or at the wrong time, or not including the right info, or whatever it may be.
I'm not gonna sit here and say you asked a poor question, because answers/commenters can be jerks. However, learning how to write software is hard, and the idea that a magic site can answer any question you need to make 6 figures is ridiculous. The tough love I received on SO made me write better questions and think more atomically.
I have had this conversation with my wife many times, who is working her first development job: "Yes the people can be cruel, but there's no better way to see the obvious gaps you have in your expertise than to expose yourself to them."
https://stackoverflow.com/help/mcve
In my experience, 90% of moderating questions on SO is linking people to this doc and asking them to apply it. A lot of these users just didn't know this doc exists or haven't read it yet and are then able to edit their question to be answerable and meet community standards.
I've been on Stack Overflow for almost 10 years and very rarely to never see a question with a MCVE and steps to reproduce get downvoted. The more effort you put into asking a question well the more likely it is to get rewarded with upvotes and good answers.
Everyone there is just looking for someone to snipe at for internet points or they're an academic who IMO are even worse. 2019 It's a joke.
The archives are useful but that's about it.
I agree. But not just there. Here too. I feel I do not always express myself like I would were there no karma points to be earned/lost. I often wish for a karma-less HN .
Edit. Because I get micro depressed when I loose karma and I start to question myself. I feel I shouldn't care because I look upon myself as strong, well-behaved, clever. But I do care. Immensely.
OTOH questions like I am trying to do this very specific thing that interacts with multitudes of other systems and cannot get it to work are therefore not considered StackOverflow worthy.
If it is completely unique and is of no use to anyone else, then it still of use to one person and still worth answering. Maybe SO just needs a flag for questions as 'unique situation' so it doesn't appear by default in future searches.
Also, SO isn't really a wiki. It's not designed that way. It's built around "this is my problem; what is the best solution?" interactions.
or homework questions
But for every response of, "What code have YOU tried?", there's someone who posts the answer to the question, and the user gets their one-time answer and never comes back
Remember JavaScript.com? SO is that but for every language and with snippets of code that have been validated by names that are so well recognized for being brilliant that would I start to mention one then I would have to name everyone and they are too many. So we shouldn't frown upon people who take those snippets of code to try to make a buck. Is all I'm saying.
I recently posted a question. Here's how it went.
Posted question, gave some urls to documentation, wrote up code example and asked for help on a specific point.
Downvoted and commented that it wasn't what the rules specified.
Although I didn't find anything wrong with my post compared to said rules, but adjusted the post. Downvoted again.
Adjusted again and still more downvotes and no helpful comments.
At this point I just deleted the question and sought help elsewhere.
------
Whereas before you would get your question edited if it wasn't within the guidelines or perhaps people would not downvote but comment on how you could be more specific.
Instead it was as if I had to "do the work" for them to understand what was being asked or do as much as I could so it wasn't taxing for them.
The help I got elsewhere was actually from reddit. Another user actually did go through my code and the solution was trivial. Being a solo developer and not having more than 1 pair of eyes can sometimes get you in the weeds.
Now I just use SO for reading and getting hints on what I'm working on myself. It's good in that respect. It's just a shame it's gotten so toxic. I know from reading other forums when someone mentions SO, it's just not the same anymore.
I genuinely feel bad for new comers.