Joel Spolsky gives a presentation to Google on StackOverflow.com:
Updated 2021 : note that the above post was originally published in 2009, but is left here for archival purposes.