Chapter 10
Advanced Object-Oriented Programming in Tcl
There are many styles of object programming languages, ranging from the dynamically configured Smalltalk-like languages to the rigidly defined Java and C++ style languages.
One goal of the TclOO package is to allow the programmer to use whatever features they need to develop their application and to provide object-oriented programming support in a form that’s consistent with the rest of Tcl, being both dynamic and introspective.
TclOO can be used like C++ or Java with a set of classes and inheritance defined during a project’s design phase. You can also use TclOO in a dynamic manner, with classes and objects being defined while an application is running. TclOO classes and objects can be ...
Get Tcl/Tk, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.