One of the problems StackOverflow is facing due to its age is that what was (correctly) accepted as the best answer 5 years ago isn't always the best answer today. For some questions, the better answer has more upvotes, and this reflects that.
I kind of wish StackOverflow had something like "Order by most votes in the past year" or "Order by most recent 50% of votes" or something, as it would probably be more accurate, but I get that it's complex both technically and from a UX perspective.
I would like the same for hacker news e.g. if patio11 adds the 1000th comment in a thread, I want to see it. Perhaps even individually ranked: opt in to get a clintside ordering of a discussion that uses my own up and down votes to help re-rank the comments.
Stackoverflow is frustrating because experts get much the same influence as ignorants. I am forced to read every answer and comment to find the information gold (the ranking helps, but it doesn't help enough). Best answers almost invariably are written badly and don't cover corner cases (possibly it is because I usually have to find JavaScript answers, or because JavaScript is hard to write well).
But if a question gets a lot of new answers without the original answerer reacting any more, just change the algorithm to show the answer with the most votes in the pas month/year.
This is a problem which should be solved.
I wonder if there is a way to have a confidence in the answers and to redirect you to the good old fashioned Google if there doesn't appear to be relevant info. I also understand this is among the most challenging problems facing Computer Science today.
ArrayList<char> charList = new ArrayList<char>(0);
for (int i= 0; i < b.length; i++) {
if (b[i] == condition) {
charList.Add(b[i]);
}
}
charList.toArray();
in Crokerage and array = ArrayUtils.removeElement(array, element)
in Google/Stacksnippet.It'll be interesting to see how long it takes that Google have a way of determining the confidence in the answers and have some algorithm that is able to reliably give a code answer. I'm sure they'll immediately put this in their snippet then, removing the need to click the StackOverflow links any more.
I threw something totally random at it ("png to base64 c#") and it gave the exact snippet it should.
So I built http://www.stacksnippet.com/ back then, leveraging Google search results which work well for natural queries and retrieving the StackOverflow answers. The actual answers are listed directly on the search page in a compact format.
After dogfooding this for a while I found that it really is just not that useful. The questions that I had that could be answered in one-liners came in bursts, but the format wasn't great for answering all queries I had.
Not figuring out a good direction where to go with this I abandoned it quickly after building, but it's nice that it's still working, 5 years later (albeit without https).