Earlier this year, a team of computer science researchers published a paper with a novel solution to this problem: CROKAGE – the Crowd Knowledge Answer Generator. This service takes the description of a programming task as a query and then provides relevant, comprehensive programming solutions containing both code snippets and their succinct explanations.
Click through to read the fascinating backstory and to see how it stacks up (😉) to previous search algorithms. Or, give it a try yourself at http://www.isel.ufu.br:9000/
Disclaimer: As CROKAGE is a research project deployed on a university lab server, it may suffer from some network instability and server overload.