
Find the Bug
A Book of Incorrect Programms
Adam Barr - Collection Programming
Résumé
50 exercises to sharpen your programming skills, while having a little fun!
The contents of this unique book may be playful, but the underlying point is a serious one: Skilled programmers must be able to examine code-written by themselves or by others- and mentally debug it. Debugging tools will get you only so far; certain errors will sneak past even the best of them. You must become your own best defense against hidden mistakes and nasty surprises. You must find the bug before it finds you.
The book contains 50 programs, in one of five languages (C, Java, Python, Perl, and x86 assembly language]. Each program contains a single, hard-to-detect but realistic bug-no tricky gotchas. To find these bugs, you have to think like your processor and anticipate exactly how the code will behave, even without running it. The author provides hints to get you started, as well as any needed language background. He shows you how to analyze programs, and how to uncover their internal logic. In the end, he exposes and explains the bugs.
Practice of this sort not only will improve your debugging skills, but ultimately will help you to write cleaner code in the first place!
Find the Bug is inspired by coding and debugging challenges used by Microsoft in interviewing new programmers. It is an indispensable resource for all working programmers, maintainers, testers, quality specialists, and everyone involved in code reviews.
L'auteur - Adam Barr
ADAM BARR is a consultant based in Redmond, WA. For ten years, he was a Software Design Engineer at Microsoft Corporation, where he worked on products ranging fromWindows NT, Windows 2000 and Windows XP to Microsoft Interactive Television and Softimage Digital Studio. He has exceptional experience in C programming andWindows NT kernel development and debugging. He is author of Proudly Serving My Corporate Masters: What I Learned in Ten Years as a Microsoft Programmer.
Sommaire
- Preface
- Bug Classification
- Tips on Walking Through Code
- C.
- Python
- Java
- Perl
- x86 Assembly Language
- Appendix A. Classification of Bugs
- Appendix B. Index of Bugs by Type
- Appendix C. References
- Index
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Adam Barr |
Collection | Programming |
Parution | 18/11/2004 |
Nb. de pages | 306 |
Format | 17,5 x 23,5 |
Couverture | Broché |
Poids | 493g |
Intérieur | Noir et Blanc |
EAN13 | 9780321223913 |
ISBN13 | 978-0-321-22391-3 |
Avantages Eyrolles.com
Nos clients ont également acheté
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