Find the Bug
Author: Adam Barr
Publisher: Addison Wesley, 2004
Price: £26.99
Pages: 306
ISBN: 978-0321223913
Aimed at: Experienced programmers
Rating: 4
Pros: Could be seen as fun
Cons: There are too many bugs in the world to want to add to them on purpose.
Reviewed by: Harry Fairhead

This is a book that contains bugs in programs and your challenge is to find them. It aims to sensitise developers to the problems and indicate the sorts of approaches that can successfully solve them.

Author: Adam Barr
Publisher: Addison Wesley, 2004
Price: £26.99
Pages: 306
ISBN: 0321223918
Aimed at: Experienced programmers
Rating: 4
Pros: Could be seen as fun
Cons: There are too many bugs in the world to want to add to them on purpose.
Reviewed by: Harry Fairhead

This is a book that contains bugs in programs and your challenge is to find them. What can I say?

The world is full of enough bugs without needing tame caged examples for us to experiment on! Much of the early part of the book is fun to read and full of what should be obvious stuff to any practicing serious programmer – give variables sensible names, make sure functions do what they claim and don't have side effects, watch out for variable that have a restricted range. If some of this isn't familiar to you then it should be and you probably need to read this book. Even if it is familiar there is a warm glow to be gained from reading it again and shaking your head knowingly.

The latter part of the book is more radical. It consists of example programs in C, Java, Python, Perl, and 86x assembly language complete with bugs. Your task, should you choose to accept it, is to find the bugs. How useful this is depends on your approach to the whole programming problem. It's almost a matter of psychology. What is clear is that this book is too short and ephemeral to actually be successful in training you to be better at debugging. The best it can do is to sensitise you the nature of the problem and the sorts of approaches – logic, logic and more logic – that tend to be successful. In truth a good bug finder is either born or serves a much longer apprenticeship at the hands of a master than this book can offer. A good fun read that might reveal the truth to those ready to receive.

Banner


The Art of Computer Programming, Volume 4, Fascicle 5

Author: Donald Knuth
Publisher: Addison-Wesley
Pages: 320
ISBN: 978-0134671796
Print: 0134671791
Audience: Knuth fans
Rating: 4
Reviewer: Mike James
Another portion of TAoCP. Do you need to read it?



Discovering Modern C++, 2nd Ed

Author: Peter Gottschling
Publisher: Addison-Wesley
Pages: 576
ISBN: 978-0136677642
Print: 0136677649
Kindle: ‎ B09HTJRJ3V
Audience: C++ developers
Rating: 5
Reviewer: Mike James

Modern C++ who would want to write anything else? Is this a suitable introduction for the rest of us?


More Reviews

Last Updated ( Friday, 19 March 2010 )