The Tcl Programming Language: A Comprehensive Guide

The Second Edition covering Tcl 9 has been released.

The Tcl Programming Language is a comprehensive guide to this immensely flexible and versatile language. Starting with the basic features, it expands its scope to include the more advanced concepts, facilities and programming idioms from which the language derives its power.

Paperback: 660 pages
ISBN-13: 9798316640539
PDF: Gumroad, List $19.95.
Print: Amazon, List $39.95.

1. Book description
2. Download 1st Edition chapters
3. Support
4. Reviews

Book Description

Download the Table of Contents.

From the back cover:

  • Master the fundamentals of Tcl syntax, commands, and core concepts.
  • Leverage Tcl's flexible and uniform execution model for metaprogramming, custom control structures and reactive programming.
  • Modularize your code using namespaces, object-oriented constructs and packages.
  • Globalize applications for international markets.
  • Transfer data efficiently using the integrated event loop and asynchronous I/O.
  • Implement reflected channels, data transforms and filters using Tcl's sophisticated I/O framework.
  • Communicate with other applications using inter-process pipes and networks.
  • Simplify concurrent programming using coroutines.
  • Enhance application security by using safe interpreters for sandboxing.
  • Streamline software deployment with single file executables using the ZipFS virtual file system.

Downloadable chapters

Some content has been removed in the second edition of the book because of page count limits. The corresponding material from the first edition is available at the links below. Although pertaining to Tcl 8.6, it should be relevant to 9.0 with no or minimal changes with the exception of the section on Tclkits.

  1. Chapter 19. Virtual File Systems and Tclkits PDF
  2. Chapter 22. Threads PDF
  3. Chapter 23. Database Connectivity with TDBC PDF
  4. Section 10.10. Tcl Internals part 1 and part 2

The draft of the TclOO chapter from the first edition is also available. Note this has been updated in the second edition to reflect enhancements in Tcl 9.

Support

For the Errata and user discussion, please visit the Tclers Wiki.

Sample scripts from the book are available here.

Please send any comments about the book to apnmbx-wits at yahoo.com.

Reviews

Gumroad

★★★★★ 30 ratings
☆★★★★ 0 ratings
☆☆★★★ 1 ratings
☆☆☆★★ 0 ratings
☆☆☆☆★ 0 ratings
★★★★★ Seriously the best Tcl Programming book around. The level of depth is unlike any other book of this class.
★★★★★ The most comprehensive and up to date book on the TCL language available. A gem.
★★★★★ ... a great resource reference. Indispensable and worth every dollar.
☆☆★★★ An alright book, but overly wordy.

Amazon

★★★★★ 44 ratings
☆★★★★ 5 ratings
☆☆★★★ 2 ratings
☆☆☆★★ 1 ratings
☆☆☆☆★ 0 rating

From Amazon US:
★★★★★ The best Tcl book on the market. Full review
★★★★★ An excellent resource for beginners through to experienced programmers. Full review
★★★★★ Phenomenal amount of material and the writing is precise, clear and straightforward. Full review
★★★★★ Read the preview material... then buy the book. It really is good! Full review
★★★★★ A great book on TCL v8.6. I really liked the writing style of the author. Full review
★★★★★ Great guide to all of the features of modern TCL! Full review
★★★★★ Awesome Tcl resource. This book is everything I needed to learn more about Tcl. Full review
★★★★★ Excellent and very detailed coverage of tcl 8.6 with many helpful examples. Full review
★★★★★ One of the best engineering books I've ever seen. Full review
★★★★★ Given the great organization and coverage, I stopped using Google. Full review
★★★★★ This is most assuredly the best current book on Tcl. Full review

From Amazon UK:
★★★★★ Best Tcl book I've come across so far. Full review
★★★★★ Best Tcl 8.6 reference. Full review
★★★★★ Excellent, up-to-date and comprehensive. Full review
★★★★★ A really good reference. Full review
★★★★★ Great book. Very helpful, all the content I needed in one place. Full review
★★★★★ (no review)

From Amazon Germany:
★★★★★ Tolles Buch für alle TCLer. Full review
★★★★★ Aktuelles und vollständiges TCL Buch. Full review
★★★★★ Really good book. Every topic is well explained, but it's never too much or too repetitive! Full review
★★★★★ Das Buch lässt kein Thema aus, geht über die Grundlagen weit hinaus Full review
★★★★★ Endlich ein vollständiges und umfängliches TCL Programmierbuch für V8.6 Full review
★★★★★ Monumental effort and useful both for beginners and for the advanced programmer. Full review
☆★★★★ Ausführliches Nachschlagewerk. Der Druck ist optisch manchmal etwas anstrengend... Full review

From Amazon France:
★★★★★ Livre le plus récent sur le langage Tcl. Full review

From Amazon Italy:
★★★★★ Bello. Full review

From Amazon India:
★★★★★ Five Stars. Full review

From Amazon Canada:
★★★★★ This is the best book for learning TCL and it serves as a great reference too! Full review
☆★★★★ A valuable Tcl book you got to have. However, the font is so small, it is a bit difficult to read it. Full review

From Amazon Australia:
★★★★★ The depth of this book is amazing.Writing style is really good, the example snippets short and well demonstrate the issue in hand. Full review

Goodreads

★★★★★ 3 ratings
☆★★★★ 0 ratings
☆☆★★★ 0 ratings
☆☆☆★★ 1 ratings
☆☆☆☆★ 0 ratings
★★★★★ I kept reading because I found myself enjoying reading about Tcl's features and the way this book laid them out. Full review
★★★★★The most recent book that deals with Tcl... Full review