[Home Page] - [Reviews Main] | |
|
Win32 Multithreaded Programming by A Cohen & M Woodring Not Recommended |
| ISBN: 1 56592 296 4 Publisher: O'Reilly Pages: 705pp+CD Price: £29-50 |
| Categories: MS Windows advanced c++ |
| Reviewed by Francis Glassborow in C Vu 10-6 (Sep 1998) |
Another irritant is coming across pages of purposeless output. What conceivable benefit does the reader get from two and a half pages of output the last 77 lines consist of:
Executing job <This is job x>
where x is replaced successively by the integers 24 to 99
(that is 76 lines, the last one is
DPQ2 thread exiting )
This is not the only example of sheer space filling. Commenting has been
completely abused. For example, on page 432, we have a function in which
the first line of the function is separated from the next by 19 lines of
comment. The comment is tutorial and so does not belong as a comment.
Large blocks of comment obscure the code and make it harder to follow. The
sheer complexity of some of the code leaves me worried. Seeing a
constructor for class with ten initialisers (some empty) is a little
worrying. But when I look back and find that the class has both a public
and a private base (multiple inheritance) and contains two private classes,
one of which itself contains a private class that contains a private
struct I begin to wonder about the design. The body of the
constructor contains a
while loop which contains an if nested in an
if .
This basically good book on an important subject is been marred by poor presentation and coding style that makes it hard work to read. I am far from convinced that this complexity is essential to the subject.
If someone volunteers to provide a second opinion, I would be happy to let them have the review copy.
To link to this review, please use the URL: http://www.accu.org/bookreviews/public/reviews/w/w001677.htm
Copyright © The Association of C & C++ Users 1998-2000. All rights reserved.