Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
X Window inside and out
Reiss L., Radin J., McGraw-Hill, Inc., New York, NY, 1992. Type: Book (9780078817960)
Date Reviewed: Nov 1 1993

Writing programs for the X Window System can be a daunting task. One has to master event-driven programming, understand the asynchronous interactions between the X server and a client application, and learn to use several overlapping programming toolkits. A well-written, well-organized, and complete book with realistic sample applications would be an invaluable tool for aspiring X programmers. Unfortunately, this is not it.

The presentation starts with the lowest-level Xlib functions, then moves along to the higher-level Xt toolkit and the Xt-based Motif library. Each chapter suffers from a multitude of faults, however. The text is badly organized and often refers to crucial concepts that have been mentioned only in passing or not at all. The code is badly edited, and the sample code often declares library routines with the wrong types or the wrong number of arguments. In some places, examples use the wrong lines of code from the program, completely confounding whatever point was to be made. Most chapters include long lists of functions and features, with short descriptions of the functions that read like excerpts from a manual. Again, types and arguments are sometimes wrong.

Large parts of the book read as though they were written by rather than with a text editing program. For example, in the discussion of bitmaps in chapter 9, one example includes ten consecutive pages of hexadecimal numbers, the contents of a large bitmap. Clearly, it was easy to paste the code in from the original source, but it is hard to imagine anyone reading it, much less retyping it. Besides, it is one of the standard sample bitmap files distributed with X Windows, meaning X programmers will already have it online, something the authors fail to mention. Another example of the excess of cut and paste is that nearly every chapter ends with “The following MAKE file was used to process this program using SCO Open Desktop. The MAKE file for other X Window implementations varies.” (Actually, in chapter 11, the authors left out the second sentence.) This statement is followed by listings of make files that are all identical except for changing the program name from “example1” to “example2,” and so on, and a few typos in the comments. In every case, the indentation of the make files was lost in the process of typesetting, which means that none of the make files will work as printed.

I cannot recommend this book to anyone. The standard reference and tutorial for X programming remains the multivolume set published by O’Reilly [1–5] which, though lengthy, is readable, informative, and accurate.

Reviewer:  John R. Levine Review #: CR116869
1) Nye, A. Xlib programming manual. O’Reilly, Sebastopol, CA, 1990.
2) Nye, A. (Ed.) Xlib reference manual. O’Reilly, Sebastopol, CA, 1990.
3) Nye, A. and O’Reilly, T. X toolkit intrinsics programming manual, OSF/Motif edition. O’Reilly, Sebastopol, CA, 1990.
4) X Toolkit intrinsics reference manual. O’Reilly, Sebastopol, CA, 1990.
5) Heller, D. Motif programming manual. O’Reilly, Sebastopol, CA, 1991.
Bookmark and Share
 
X-Window (D.2.2 ... )
 
 
C (D.3.2 ... )
 
 
Unix (D.4.0 ... )
 
 
Window Managers (D.4.9 ... )
 
 
Object-Oriented Programming (D.1.5 )
 
Would you recommend this review?
yes
no
Other reviews under "X-Window": Date
The joy of X
Mansfield N., Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 1993. Type: Book (9780201565126)
Jan 1 1994
R5 update
Flanagan D. (ed), O’Reilly & Associates, Inc., Sebastopol, CA, 1991. Type: Book (9780937175866)
Aug 1 1992
The X Window System (Open Look ed.)
Young D. (ed), Pew J., Prentice-Hall, Inc., Upper Saddle River, NJ, 1992. Type: Book (9780139829925)
Jul 1 1993
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy