Why things are broken, and how to fix them