[Home Page] - [Reviews Main] | |
|
Multi-Paradigm DESIGN for C++ by James Coplien Highly Recommended |
| ISBN: 0 201 82467 1 Publisher: Addison-Wesley Pages: 280pp Price: $34-95 |
| Categories: advanced c++ object oriented |
| Reviewed by Francis Glassborow in C Vu 11-2 (Jan 1999) |
Many programmers have a habit of considering C++ an OOPL. They also use OOP as if it is some form of complement and non-OOP as a derogatory description of code. This is a kind of bias that should be unacceptable. Unfortunately the result is that they come to think that any good programming idiom or method must per se be OOP.
What this book sets out to demonstrate is that there is a wealth of programming mechanisms and OOP is only one of them. For example, generic programming as exemplified by the STL in C++ is specifically and intentionally not object-oriented. Indeed you would have to distort a pure OO approach to achieve smooth generic programming. Such a paradigm does not ride happily with languages such as Java or Smalltalk.
What Jim sets out to achieve in this book is to paint a far wider canvas, unconstrained by a single paradigm or methodology. C++ is a particularly good vehicle for this because from its inception it was designed to support the way programmers work rather than attempting to force programmers to work the way some 'expert' thought they should.
If you want to broaden your perspective and are willing to risk facing a world in which OOP is not always the best then you should take the time to read this book. I suspect that having done so you will want to hang on to your copy so as to read it again in a leisurely fashion. It is true that C++ has a number of pitfalls, and languages like Java and Eiffel have fewer but when you have finished reading this book you may understand the price that is paid for that extra safety. Then you will be better able to make an informed choice of which tools and methods are appropriate to a task.
Finally, if you ever get a chance to listen to James Coplien speak grab it with both hands, he is one of those exceptional speakers that set standards that most of us can only aspire to.
To link to this review, please use the URL: http://www.accu.org/bookreviews/public/reviews/m/m001789.htm
Copyright © The Association of C & C++ Users 1998-2000. All rights reserved.