but the book they recommend is quite old,
The fact about tcl is that it's pretty old, the Ousterhout book is still the best tcl book (and IMHO, almost classic). There was never even a second edition , although, apparently, it is in the process of creation. tcl was a great idea at the time, and it wasn’t very painful to study it, but it didn’t support it and frankly had a lot of design problems from the very beginning. Don't get me wrong, I was a huge fan of tcl that day, but this is not the best thing to learn now. If you decide to continue, take the used copy of the original book and use online resources.
Tcl’s original goal was to be lightweight and free to eliminate the need for a multitude of native command languages ​​that people write to add interactivity to their applications. The Tk toolkit was later added, and it was the easiest and most free way to add a GUI to the application.
Today there are much more options available (for example, for the graphical interface, Qt is now under LGPL, therefore it is almost as free in Tk. To add a command line interface to an existing C / C ++ application, the closest modern Lua tool, but even more powerful languages, such as ruby ​​and python are not much harder to integrate with C / C ++ applications (especially with tools like boost python and SWIG ).
David nehme
source share