17 internautes sur 17 ont trouvé ce commentaire utile
- Publié sur Amazon.com
The short: By all means, buy and work through Test Driven Development for Embedded C (Pragmatic Programmers) by James Grenning before you buy this book. You will not regret it.
The long: Powell's book is full of extensive code examples, which is a good thing. But, to my surprise, the code downloads are in MS Word format. About the only advantage of this is, that you can relatively easily correlate the sample code to the book.
The main drawback, however, is that this code in the you get it, has never been compiled, linked, or tested in any shape or form. Definitely, NEVER.
The include file "mutex.h", in particular, is referenced dozens of times in example code. From what I can tell, it is Powell's own version of a mutex implementation, but there is NOTHING in the book or in the code, not even pseudocode or anything. Basically, this means that dozens of examples are impossible to compile unless you improvise your own mutex.h (easy), and they are impossible to link or test, unless you also design your own implementation of Powell's mutex.
Up to this point, I would still have given the book 3 points, because it still contains a lot of useful stuff.
Enter the publishers: Elsevier, "Addison-Wesley" and their likes. I would give them a minus-two rating, if it were possible. They are no longer reader-oriented, and delegate the real reader support to third-party sites, which leave to be desired as well. As for Elsevier, they seem to specialize in medical books, and little else. Why would they even want to publish this book? As for "Addison-Wesley", just enter enter their web address into your browser, and you will be delighted to find yourself at Pearson, merrily offering you "Solutions for higher education" instead of what you used to be able to find at a publisher's web site. No browsing their books, no decent support, no contacting the author, no discussion group, no discounted eBook upgrade for owners of a hard copy, no nothing, no thank you (funnily, their German site at least allows you to browse and order books, at least).
Finally, there is no reference to the editor webpage or the code download in the eBook, so if you don't own the printed copy, or you don't happen to have it with you, unfortunately you are out of luck...
Having subtracted the publisher's score from the book' score, unfortunately that leaves only one star.
The only reason I bought this book is that currently there are no alternatives, and I already own "Test Driven Development for Embedded C" by James Grenning, which I definitely recommend you buy and study first, before tackling Powell's book. It also gives a better introduction to using object orientation in C than does Powell's book and, in my opinion, a few much more elegant examples. Pragmatic Programming are excellent publishers and you will enjoy everything that the publishers of this book chose to neglect.