REVIEW - Tcl/Tk in a Nutshell


Title:

Tcl/Tk in a Nutshell

Author:

Paul Raines, Jeff Tranter

ISBN:

Publisher:

O'Reilly (1999)

Pages:

440pp

Reviewer:

Alyn Scott

Reviewed:

October 2000

Rating:

★★★☆☆


a very useful reference book

This book is another of the excellent 'In a Nutshell' series and follows the same style. It is intended to be a reference book that you 'dip into' rather than one you read from cover to cover.

It briefly describes every command and option in the core Tcl/Tk distribution as well as the most popular extensions to the language. There are short code snippets giving examples of usage of some of the commands and each chapter has a useful introductory section. The format that each command is presented in is generally quite clear but the section on the X Windows extensions, Tk, could do with more explanation. If you are not familiar with the conventions for naming X resources and classes this section will be confusing at first glance.

A good selection of the main extensions to Tcl are described including Expect, incr Tcl, incr Tk, Tix, TclX, BLT, Oratcl, Sybtcl and Tclodbc. There are also two chapters listing the Tcl and Tk C interfaces. These are just lists of the ANSI C prototypes and constants with no explanation of how to use them.

The final chapter on hints and tips gives useful insight into the usual pitfalls that the programmer is likely to get into. Tcl syntax is subtly different to standard C programming so this describes the most common causes of software errors.

Overall, I think this is a very useful reference book for anyone who is writing Tcl/Tk programs.


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.