When it comes to software bugs it is useful to know the gradient how to avoid and how to fix. What I recently found is an article about the accumulated experience on the topic:
- Zero-Defect Software Development (ZDSD) by Steve Pavlina [devnewz.com, securitypronews.com]
- ZDSD in Russian
- NASA Software Safety Standard NASA-STD-8719.13B