I found sometimes that old questions are marked and closed as duplicate of new questions. Here is an example, where a question of 2010 is marked as a duplicate of one asked in 2013.
I found that this is because the site encourages better answers of the exact same questions.
But what makes a better answer? In one the selected answer has more votes than the more recent one, but this one has references to the documentation explicitly.
I'm asking because I was looking for duplicates of this other question in 2012 which asked the same thing. Which one should I mark as a duplicate?