Bug Patterns in Java

Download or Read eBook Bug Patterns in Java PDF written by Eric Allen and published by . This book was released on 2002-10-03 with total page 272 pages. Available in PDF, EPUB and Kindle.
Bug Patterns in Java
Author :
Publisher :
Total Pages : 272
Release :
ISBN-10 : UOM:39015056693883
ISBN-13 :
Rating : 4/5 (83 Downloads)

Book Synopsis Bug Patterns in Java by : Eric Allen

Book excerpt: Bug Patterns in Java presents a methodology for diagnosing and debugging computer programs. The act of debugging will be presented as an ideal application of the scientific method. Skill in this area is entirely independent of other programming skills, such as designing for extensibility and reuse. Nevertheless, it is seldom taught explicitly. Eric Allen lays out a theory of debugging, and how it relates to the rest of the development cycle. In particular, he stresses the critical role of unit testing in effective debugging. At the same time, he argues that testing and debugging, while often conflated, are properly considered to be distinct tasks. Upon laying this groundwork, Allen then discusses various "bug patterns" (recurring relationships between signaled errors and underlying bugs in a program) that occur frequently in computer programs. For each pattern, the book discusses how to identify them, how to treat them, and how to prevent them. Table of Contents Agile Methods in a Chaotic Environment Bugs, Specifications, and Implementations Debugging and the Development Process Debugging and the Testing Process The Scientific Method of Debugging About the Bug Patterns The Rogue Tile Null Pointers Everywhere! The Dangling Composite The Null Flag The Double Descent The Liar View Saboteur Data The Broken Dispatch The Impostor Type The Split Cleaner The Fictitious Implementation The Orphaned Thread The Run-On Initialization Platform-Dependent Patterns A Diagnostic Checklist Design Patterns for Debugging References


Bug Patterns in Java Related Books