ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Google+ ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1918 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
The Java/C++ Cross-Reference Handbook
Author:
Frederick F Chew
ISBN:
0 13 848318 3
Publisher:
Prentice Hall
Pages:
pp448C
Price:
£30-99
Reviewer:
Francis Glassborow
Subject:
java; beginner's c++
Appeared in:
11-2
One of the growing problems is programmers who have learnt their programming skills in Java (an increasing number of academic programming courses are based on Java) and then have to tackle real world C++. They know how they would code in Java but how to get the same functionality in C++?

Sometimes the answer is that you cannot. For example C++ provides nothing remotely akin to Java's

final
keyword. (Actually I think C++ might benefit from introducing that keyword. It would be interesting to have a compiler provide it as an extension.)

At other times you can provide the same behaviour but at the cost of extra work or doing it differently. A good example is Java's == operator which is defined for all types (I am not happy that the definition is different for built-in types and user defined ones but...). C++ only defines this for built-in types and between pointers (of the same type) and leaves programmers to define it (or not) for their own types.

By describing many of the features of Java that either do not exist in C++ or are provided differently this book provides a considerable service to Java programmers needing to write some C++. Of course the answer in some cases is rather like replying to a request for directions with 'I wouldn't start from here if I wanted to go there'.

The book is organised from a Java perspective, and I suspect you would need a book ten times the size to go the other way. None-the-less a C++ programmer will reap benefit from browsing this book as they would begin to better appreciate the positive as well as the negative aspects of Java.

Next I would like to see the author tackle idiomatic usage. In the meantime if you work in a mixed Java/C++ environment having this book to hand would fairly quickly pay for the cost of purchase (this is the kind of reference that your employer should be providing).