I don't understand how SO works. Someone posted an answer which was wrong and it got 5 upvotes, I post a longer and I think better answer and I get -1. What gives?
@Dharman Not unusual. Many people upvote not on substance but on presentation. Plenty of folks don’t have the attention span to read a long answer. I know this well, as mine tend to be quite long.
Like I said: your answer was long, and therefore got fewer upvotes.
I have, on multiple occasions, posted a thorough answer explaining the cause of the observed behavior, the circumstances leading to it, and multiple possible workarounds. These answers then get downvoted and/or not accepted in favor of another answer that gives copy-paste-ready code.
I personally find explanatory answers far more useful than copy-paste-ready code, since I’ll be damned if I’m going to copy-paste code of unknown origin and function into a production application. Besides, it’s unlikely to truly be paste-ready, since it’ll need to be adapted to the actual problem, not the MCVE.
Can't tell you how many times I see someone ask a question a day or two after getting a copy-pasta answer trying to get the answer to work because they don't understand the code and the answerer didn't explain anything.
Don't see that many non-English questions, but I do see a ton of off-topic questions.
Check back in a few moments. :-)
Hmm, you didn't wait long enough.
The color of visited links is really difficult to distinguish from the color of unvisited links. I can't even tell the difference comparing one to the other on that search page.
@PearlySpencer I don't see the merit in re-opening. It is exactly the same problem.
The "why" is identical.
user8682794
@CodyGray It is similar indeed but I think the closed question offers a better explanation. It would be a shame to be deleted. Perhaps it should be re-opened and the other question be closed as its duplicate?