18.2 Software

We have all encountered horror stories about software that contained errors; they make for very interesting reading. Are software errors in running programs really common occurrences? Can’t we do something to make software more error free? To answer the first question, a web search for “software bugs” retrieved 261,000,000 hits. To answer the second, software developers are trying. In the next few sections, we examine why error-free software is difficult—if not impossible—to produce. We also discuss current approaches to software quality, and we end with a collection of interesting bugs.

Get Computer Science Illuminated, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.