REVIEW - Migrating from Pascal to C++


Migrating from Pascal to C++


Susan M. Merritt



Springer (1997)




Steve Dicks


December 1998



This book tries to fill a much-needed gap in the marketplace - a transition between the 'academic' language Pascal to the 'industry standard' C++. However the C++ was out-of-date when the book was published in 1996 - there is no mention of exceptions, the STL, templates are relegated to the last 50 pages and

is explicitly written off with 'there is no equivalent to the Pascal Boolean type'. This is then made worse by an example program that uses
as a variable name, something guaranteed to confuse a beginner using a modern compiler.

In places the book is technically inconsistent; using non-

references in copy constructor arguments, using the phrase memberwise bitwise copying to describe how the default copy constructor operates. The subject of accessors and modifiers is covered and an example is given to show how a new implementation can 'fake' the existence of an attribute via its accessor modifier pair. However nowhere does it attempt to describe what is going on; this book will generate 'better C' rather thanOO C++ programmers. Having been shown the syntax for
data, it would have been useful to be reminded of the pitfalls associated with such entities. It also contains one or two glib statements, such as that object passing by value and by
reference are 'equivalent'. The last 200 pages are taken up with exercises and answers to odd-numbered ones; excessive for a 500-page book.

Overall somewhere between disappointing and dangerous - badly out-of-date and not enough handholding through the difficult areas of C++ to be worthwhile. Not recommended.

Book cover image courtesy of Open Library.

Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED

By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED

Settings can be changed at any time from the Cookie Policy page.