ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib 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 1949 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:
Code Generation in Action
Author:
Jack Herrington
ISBN:
1-930110-97-9
Publisher:
Manning
Pages:
342pp
Price:
$44.99
Reviewer:
Mathew Davies
Subject:
xml
Appeared in:
16-2
Code generation involves writing programs to generate the source code for other programs. This book demonstrates how it can sometimes make good engineering sense to generate source code automatically. The author explains what code generation is, when automatic code generation might be appropriate, how it might be accommodated within the software development process, and how you might go about organising and managing code generation.

Mr Herrington chooses the Ruby programming language to build his code generators, using XML to build the text files that drive his generators. He demonstrates how combining the Ruby programming language with its ReXML extension provides a means of extracting all necessary information from these input files.

The book demonstrates the code generation technique by showing you how to build a series of small but useful generators. A particularly nice touch to this book is the author's attention to the practical details. For example, he makes time and space to discuss the types of objection that other members of the software development and management teams might raise to the use of code generation. He also provides you with advice on techniques for dealing with such objections.

I feel that the real value of this book lies not in the particular examples that have been chosen to illustrate the technique but in the ideas that it generates for applications elsewhere. The book certainly seems to justify its current retail price of around£25.