Look, I've only been a member for like a year or so, but I've been directed to SO for answers from Google and elsewhere, that get really specific answers to what I'm looking for, for as long it's existed. Face it, SO's search bites. And what is the purpose of the site? To help people grow as developers. Not only to answer a question-- because if that was the case, duplicates wouldn't be an issue.
I have seen so much complaining about this kind of thing since I actively joined-- lIke it's some burden-- it makes me very sad, to put it mildly. Are we here to learn and to help people? Or just stroke our ego's.
This question is the perfect example of what I go to Stack for. I have learned so much from divergent topics here, I'd say it's probably number 1 if I had to list them (0 on the index being reserved for pure, unadulterated experimentation).
In the example provided, the seemingly divergent answers are still solidly linked, and important, to the question. Because what is most efficient is not always what is best. You don't know the querants complete scenario, and someone may come across such a question doing research and do a bunch of optimization on their project, and totally destroy functionality for themselves or others depending on what it's connected to-- had they not seen those other, seemingly divergent answers. Other people will come across that post looking for something different that a search brought them there for-- and find a stack of gold in the form of knowledge they might never have otherwise been exposed to. I am one of them.
I love coming across posts with juicy tidbits that weren't quite what I was looking for-- but the one I came for is there. It is not obscured by TMI. I can read, and there are these wonderful search utilities in my browser to help me narrow things down.
As for duplicates-- so what? Would you rather have 'too many' copies of your favorite book, movie, or song (in this case functions, methods, algorithms, etc) or none at all? Because that's what I see happening. If people are more concerned about posting a duplicate than giving an answer, there will be information lost. You can never have too many backups. And some of those duplicates provide quicker answers. More prominent dates at the top of the page and in the title would be really nice though, because in our field, a lot of things change, and sometimes rather quickly.
Let people be people. It keeps things fresh. Let them express their thoughts. Don't downvote someone because they didn't find the answer and had to ask. If it was easy for them they wouldn't be here, seeking wisdom at the feet of the masters. There are no stupid questions, if asked in earnest. What is stupid is not to ask if you can't find the answer when you need it. Some of us have money riding on these questions-- our livelihood, our families well-being. Or posterity. Whutevs.
What if you came up with a working time machine, or some engenious device that could save the world, or at least bring joy to hundreds of people and put some money in your pocket to pay your rent and feed your kids... and what stopped you was someone telling you your question had already been asked and had an answer... but didn't provide a link. Or gave you a thumbs down to your face in front of thousands of people with no reason provided. And your search terms came up with nothing even relating to your actual problem.
I am a one-in-two-billion person. I am not the smartest, or the quickest, or the strongest, or the most beautiful. But I've had some extensive testing over the years, and it turns out I have some rather unusual abilities involved with patterns in languages and shapes. This has given me a much different perspective, because when I was younger, it seemed to me like everyone was stupid. I couldn't understand why they didn't see what was obvious-- to me, that is. As I grew older, my perspective changed as I could envision what it was like-- not seeing the obvious. All I'm saying is that's why we're here, I hope, to help each other get a better perspective, to learn. Because sometimes what's obvious from one perspective, is obscure from another.
Probably, I will get some downvotes for this. But this is what I think. Better too much information than no information.