Essentially, you have to answer popular questions and either:
- do so better than all the existing answers, or
- do at least as well as all the other answers, and be one of the first answers, so that you get accepted
The popular bit is important. Even the most highly-upvoted answer on the site has a ratio of 38 views per vote. If you're answering questions that only get a few hundred views ever, then you're putting a serious cap on how many votes your answer can hope to get.
So how do we find popular questions to answer, and provide answers to them that will draw upvotes?
One approach to this would be to watch as questions get posted, try to identify questions that will become popular as they arrive, and then play and win a game of Fastest Gun In The West. This has never been my way, and I am poorly equipped to advise you if you take this approach.
The other approach is to stumble across old questions that have not been answered or have been answered inadequately, and then answer them better.
The downside of this approach is that you don't merely need to provide an adequate answer to a question when it gets posted, you need to provide a significantly better answer than anyone else's, after other people have had the chance to answer.
But if you are a full-time professional programmer (or, I suppose, a full-time amateur programmer, if such creatures exist), then this approach gives you an enormous advantage, which is that you don't need to expend any effort at all to find questions to answer. Instead, you simply wait until the following happens:
- You are at work one day, and you need to Frobnicate a Widget in FooScript++.
- Guessing correctly that this must be a common problem, you Google for "frobnicate a widget in fooscript++" and find a clearly written Stack Overflow question entitled "How can I Frobincate a Widget in FooScript++?" with thousands of views.
- To your dismay, all the answers suck and were written by gibbering morons! (Or perhaps the answers look superficially reasonable, but when you actually try to use them they don't quite work, and you discover a layer of complexity to the problem of Frobnicating Widgets that the original answerers didn't spot or understand.)
Now is your chance! Even if you don't have a chance to solve the problem at work, add it to your Favourites list so that you can return to it later. Now you have a problem to solve that:
- You already know attracts large numbers of readers
- Nobody has yet answered adequately
- Is in your area of expertise
- Is actually directly relevant to a problem you need to solve for whatever project you're working on
Solve it and answer. You will make the internet a better place and earn shiny badges! And - if you are like me - you will earn infinitely more satisfaction knowing that your answer is being read by tens of thousands of people than you ever would have answering questions with a couple of hundred views that will most likely go into a pit to die once they scroll off the homepage.
My two highest-upvoted answers both came about via the process described above. Note, by the way, that you'll sometimes find popular questions that are terribly answered in the strangest of places, and they needn't be mind-bendingly difficult to solve. My second-highest upvoted answer is about finding method references in a freaking IDE, and was posted 2 years after the question - but nonetheless has risen to the top, is on 81 votes and gradually climbing. The reason I was able to do this was simply that, after many thousands of views, nobody else had posted an answer that didn't suck. Spotting low-hanging fruit like this is great if you want to nab yourself a Great Answer badge.