Résumé
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.
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
L'auteur - Eric Allen
Eric Allen - 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.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Eric Allen |
Parution | 04/11/2002 |
Nb. de pages | 252 |
Format | 18,8 x 23,3 |
Couverture | Broché |
Poids | 521g |
Intérieur | Noir et Blanc |
EAN13 | 9781590590614 |
ISBN13 | 978-1-59059-061-4 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse