This site of Stack Overflow is designed to sit on two stools: to provide quick on-site help for the person who decided to ask, and to constitute sort of a knowledge base for people who are coming from Google search.
Although, in my humble opinion, Stack Overflow fails a big one with both goals, the second goal suffers the most. For the arithmetically simple reason: if a single person gets a quick and dirty short-sighted answer that solves X problem instead of Y, it's bad. When 100000 people are shown the same answer, it's 100000x worse.
Almost every time I look for an answer to some question, I get literally appalled by what I find. Most of the time the answer is full of absolutely irrelevant details, dwells on some insignificant topics and - quite often - offers not a standard general purpose solution but some trick that could be possibly used with caution in some rare case but by no means should be the first default action taken.
For the especially bad answers there is always a congregation of critical comments below it, many of which get some hundreds of upvotes. But for some reason nobody dares to touch the answer itself. For as long as ten years or more.
Now look at this post through the eyes of a newbie who barely understands the code they wrote, the problem they faced and the answer found, while basically looking for a piece of code to copy-paste. Would they notice these comments or comprehend them? I doubt it. Does a bad answer accompanied by a critical comment constitute a reliable piece of information? Absolutely not. Does such an answer do more harm than good? Highly likely.
So why don't we care for such answers? Why don't we care for the information found on Stack Overflow? Why is the original poster considered some sacred person who is entitled to have the same answer intact even after leaving Stack Overflow ten years ago? Why do we consider the original answer a taboo that cannot be touched? Why don't we look at the answer through the eyes of a person who has a generic problem and needs a generic solution, focused on this generic problem and not on some irrelevant details? Why don't we, as a community, feel responsible for the information provided here?
A distinct question - why do we resort to some palliative suggestions, such as "downvote and move on", "write a correct answer and move on", "mind your own business and move on"? Definitely, none of them work, but nonetheless it is suggested all the time. Why? What good do we get this way? I suppose that Wikipedia is considered a much more reliable source than Stack Overflow. And would it have been so if Wikipedia was contributed to according to the same principles, "write another article and move on"?
I'm trying not to just rant; those are genuine questions I would like to know the answer to. Personally, I very often land on Stack Overflow when looking for the programming questions. And I genuinely don't understand why there are so many short-sighted, outdated or plainly wrong answers that nevertheless by some whim of the search engine appears at the top and nobody cares to fix them. I myself only recently started doing so, and now I am wondering why I weren't doing it before.
And, I hesitate to ask, but still: what can we do to turn the tide? To make professionals not only answer new questions that will be visited by two dozen people, but also take care of the popular posts that are visited by thousands?
Almost every time I look for an answer to some question, I get literally appalled by what I find.
That has not been my experience when seeking a quick answer to a question. Maybe it's not uniformly distributed among languages/tech here. An example of an appalling answer would make this a lot more meaningful.