"The Architecture of Open Source Applications" is a book written with exactly that thought in mind.
I've just gotten started, but I'm going to gather solutions to the problems of projecteuler on github. Everyone should feel free to pitch in ones the format to submit on is established. Basically, you will be able to browse the solutions at http://projecteuler.github.io/ by language.
Is there an equivalent for programming? Github and Stackoverflow are good resources, but it would be interesting to see something more structured. Perhaps a DB of a fixed set of problems such as projecteuler.net with voting and analysis of the submitted solutions.