Bug Patterns in Java

Bug Patterns in Java

by Eric Allen
     
 
Bug Patterns in Java lays out a methodology for diagnosing and debugging computer programs, presenting the act of debugging as an ideal application of the scientific method. Debugging is a task that is seldom presented explicitly. Skill in this area is entirely independent of other programming skills such as designing for extensibility and reuse. Eric Allen lays out a

Overview

Bug Patterns in Java lays out a methodology for diagnosing and debugging computer programs, presenting the act of debugging as an ideal application of the scientific method. Debugging is a task that is seldom presented explicitly. Skill in this area is entirely independent of other programming skills such as designing for extensibility and reuse. 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, Allen argues that testing and debugging, while often conflated, are properly considered to be distinct tasks. Once this groundwork is laid, the second half of the book presents various "bug patterns" (recurring relationships between signaled errors and underlying bugs in a program) that occur frequently in computer programs. For each pattern, Allen discusses how to identify it, how to treat it, and how to prevent it. The more frequently bug patterns occur, the better they can be documented, diagnosed, and efficiently eliminated. The later chapters offer a handy checklist of potential problems and solutions, and a detailed Java developer's reference list of available Web sites, designer's tools, and books.

Product Details

ISBN-13:
9781590590614
Publisher:
Apress
Publication date:
10/03/2002
Edition description:
2002
Pages:
264
Product dimensions:
7.00(w) x 9.25(h) x 0.65(d)

Meet the Author

Eric Allen has a bachelor's degree in computer science and mathematics from Cornell University, and is a Ph.D. candidate in the Java programming languages team at Rice University. His research concerns the development of semantic models and static analysis tools for the Java language, both at the source and bytecode levels. Currently, Eric is constructing a compiler for the NextGen programming language, an extension of the Java language with added language features. He has also moderated the Java Beginner discussion forum at JavaWorld and is a project manager of DrJava, an open-source Java IDE designed for beginners.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >