Tcl/Tk : A Developer's Guide
||Author: Clif Flynt|
List Price: $54.95
Our Price: Click to see the latest and low price
Publisher: Morgan Kaufmann (05 May, 2003)
Sales Rank: 51,101
Average Customer Rating: 4.5 out of 5
Customer ReviewsRating: 4 out of 5
Best book on Tcl programming
[I'm stingy in my ratings. I could easily give this book 5 stars, but I try to use the entire rating scale.]
This book is the best available complement to the free HTML documentation (which is available online, or on CD in many books, including this one). I like the latest version of the Welch book, with its vastly improved index, but I find the explanations to be a bit sparse.
For example, I am an experienced programmer in several languages, but I still had a lot of questions about local scoping vis-a-vis namespaces after reading Welch and the docs. Flynt made this topic transparent, with diagrams and examples. I also liked his example of building a tree data structure, which demonstrated to me better than anything that Tcl is simply the wrong language for building trees.
That brings me to what I dislike about this book. The code examples are sometimes too long. In my opinion, long code should be only on the CD, to save paper space. And as the book is shorter than Welch's latest, I think the space should not have been wasted.
About 1/3 of the book is devoted to Tk, similar to Welch. I have no interest in Tk anymore, so that is all a waste for me. (If you ARE interested in Tk, Effective Tcl/Tk programming is a great source.)
There is a fair amount of info on the C library, but I think that Ousterhout's old book is still the best place for that. However, Flynt provides great advice on practical ways of interfacing with C/C++ (SWIG, Starkits, Starpacks).
He also details the pro and cons of various Tcl tools, some free. This sort of information goes out of date quickly. For example, the author already mentioned privately to a friend that "nagelfar" is now his own favorite syntax checker. But at the moment, most of his info is current.
In short, this is the best book for Tcl developers. But please consider Lua as an alternative interfacing language.
Rating: 5 out of 5
Excellent book for Tcl/Tk developers of all skill levels...
This book covers the Tcl language and the Tk toolkit in exhaustive detail. It works very well as an introduction to Tcl/Tk and as a reference guide for developers more experienced with Tcl/Tk.
· Effective Tcl/Tk Programming : Writing Better Programs with Tcl and Tk
· Tcl and the Tk Toolkit
· Practical Programming in Tcl and Tk (4th Edition)
· Tcl/Tk Pocket Reference