37

As it has often stated, the standard approach to an incorrect, but highly voted or even accepted, answer is to add a correct answer and comment/vote down and wait for the correct answer to raise and the incorrect to lower… eventually.

The problem with the question “Java: Clear the console”, is, that the wrong answer, Runtime.getRuntime().exec("cls"); has been so commonly copied, that you can say, it became a meme. It appears there in four answers and answers, and it even got upvotes for barely posting this nonworking piece of code without any additions, which didn't make a good answer, even if it was working. It seems that whenever somebody answers “Clear the console in Java” with this meme, the answer get upvotes immediately because the reader recognizes the meme.

It also re-appears in duplicates, like this one (two times) or here again (the most upvoted answer) and we’re talking about a six-year-old question.

Comments on the answers telling that it doesn't work are also present for a long time, but they didn't change anything. So here, it’s not about a single incorrect answer, but dozens of them, which have their own life as they can spawn children faster than the voting process (which apparently didn't solve that problem for years) can ever sort them out.

It even goes so deep, that my added answer, attempting to clarify the problem and and showing a correct solution got downvoted. It seems people don't want to give up the meme. It reminds me of The Hitchhiker's Guide to the Galaxy where wrong articles are kept because they make a good read.

So is there an alternative approach to handle wrong answers, when they have a high copying rate or tend to be kept and upvoted, even if they are blatantly wrong?

25
  • 3
    Idk, but its definately not a good answer. Maybe the meta effect can get some high rep users to vote to delete or get it down enough for better answers to take precedence.
    – Magisch
    Commented Oct 28, 2015 at 8:16
  • 6
    @Magisch: if that works, it’s still not a general solution, as we can’t rely on the meta effect for every occurrence of the question. Well, if one gets fixed, we can close the others as duplicates, in this specific case, however, I’m still wondering if it wouldn’t be better if there was a kind of “code doesn’t work” flag which allows scheduling to a special review queue, or such alike. Or maybe this case is really exceptional? I don’t know. Urban legends may spread to the same degree, but for easily testable code, it’s strange…
    – Holger
    Commented Oct 28, 2015 at 8:23
  • 1
    @holger Removed that comment, it couldn't go anywhere constructive. The only thing I will repeat is that in this case I let the meta effect take its course and I upvoted your answer. I have no clue what can be done in this situation as for me it is already unclear where the real problem begins. The propating of wrong info by rep-whores? Or the fact that wrong information got upvoted so easily (or perhaps: not downvoted?). The only thing I can think of is that there is a lack of verification behind answers - and normally the site doesn't need it because that's what the votes basically do.
    – Gimby
    Commented Oct 28, 2015 at 10:04
  • @Gimby: As said, I guess, a lot of developers never have a need for clearing a console so they don’t care, which becomes a problem, when these developers are the ones who answer and vote. Normally, the OP of a question has a strong influence on votes by accepting an answer or leaving comments whether an answer works (at least the OP has an interest in testing the proposals). But in this specific case, the OP seems to have had other serious problems with Java programming in general and was ignored later on and this might have caused ignorance against other comments telling that it doesn’t work…
    – Holger
    Commented Oct 28, 2015 at 10:16
  • 7
    @Gimby: Well, what makes it specifically bad and drew my attention to it, is the fact that subsequent newer questions get closed pointing to this question full of unhelpful answers. You’re right, the meta question is about the general case. But identifying the patterns which can lead to such a scenario may help in finding general solutions.
    – Holger
    Commented Oct 28, 2015 at 10:59
  • 2
    @Magisch: Even 20Ks cannot delete upvoted answers. That needs a mod with good cause to act. Commented Oct 28, 2015 at 12:19
  • 1
    @Magisch No, you are thinking of closed questions. Commented Oct 28, 2015 at 12:23
  • 2
    @Magisch: one former moderator already has removed a highly voted answer—his own…
    – Holger
    Commented Oct 28, 2015 at 13:08
  • 7
    @no comprende: what about future readers that are in no way related to the writers and voters of the answers?
    – Holger
    Commented Oct 28, 2015 at 14:18
  • 10
    @nocomprende That is a problem that Stack Overflow is trying to fix, not add to. Commented Oct 28, 2015 at 14:29
  • 1
    @Bill get better members. Are you trying to improve something that the members apparently are not concerned about? Good luck!
    – user4624979
    Commented Oct 28, 2015 at 15:29
  • 2
    @nocomprende Or, get a better voting system? (OUCH!)
    – RHA
    Commented Oct 28, 2015 at 20:55
  • 8
    I see you're trying to have meaningful scores on answers. You should totally drop that and try jQuery.
    – Servy
    Commented Oct 28, 2015 at 21:45
  • 2
    @TinyGiant that's like waiting for a bus that you know it will not arrive, willingly. It is a very screwed logic.
    – Braiam
    Commented Oct 28, 2015 at 21:50
  • 3
    @paxdiablo: it’s working in combination with a meta so question, but this can’t be a general solution…
    – Holger
    Commented Nov 16, 2015 at 8:54

0

You must log in to answer this question.

Browse other questions tagged .