Foreword

In Federalist 51, James Madison wrote:” If men were angels, no government would be necessary.” If he lived today, Madison might have written:” If software developers were angels, debugging would be unnecessary.” Most of us, however, make mistakes, and many of us even make errors while designing and writing software. Our mistakes need to be found and fixed, an activity called debugging that originated with the first computer programs. Today every computer program written is also debugged, but debugging is not a widely studied or taught skill. Few books, beyond this one, present a systematic approach to finding and fixing programming errors.

Be honest: Does debugging seem as important, difficult, or worthy of study as writing a program ...

Get Why Programs Fail, 2nd 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.